mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-14 19:18:55 -07:00
initial commit
This commit is contained in:
commit
a11f93df4d
99 changed files with 7493 additions and 0 deletions
17
cockatrice/src/serverplayer.h
Normal file
17
cockatrice/src/serverplayer.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#ifndef SERVERPLAYER_H
|
||||
#define SERVERPLAYER_H
|
||||
|
||||
#include <QString>
|
||||
|
||||
class ServerPlayer {
|
||||
private:
|
||||
int PlayerId;
|
||||
QString name;
|
||||
public:
|
||||
ServerPlayer(int _PlayerId, const QString &_name)
|
||||
: PlayerId(_PlayerId), name(_name) { }
|
||||
int getPlayerId() { return PlayerId; }
|
||||
QString getName() { return name; }
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue