servatrice/cockatrice/src/serverplayer.h
Max-Wilhelm Bruker 13b6a360d2 minor fixes
2009-05-27 02:33:43 +02:00

17 lines
326 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() const { return PlayerId; }
QString getName() const { return name; }
};
#endif