Cockatrice/cockatrice/src/serverplayer.h
Max-Wilhelm Bruker a11f93df4d initial commit
2009-03-13 22:50:41 +01:00

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