mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 16:24:45 -07:00
17 lines
314 B
C++
17 lines
314 B
C++
#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
|