This commit is contained in:
Max-Wilhelm Bruker 2009-11-25 22:58:20 +01:00
parent 6c93b1e9b7
commit 0d4717f40b
28 changed files with 591 additions and 375 deletions

View file

@ -12,12 +12,13 @@ class CardDatabase;
class QMenu;
class QAction;
class ZoneViewZone;
class Game;
class TabGame;
class Counter;
class ArrowItem;
class CardZone;
class TableZone;
class HandZone;
class ServerInfo_Player;
class Player : public QObject, public QGraphicsItem {
Q_OBJECT
@ -103,7 +104,7 @@ public:
Client *client;
void addZone(CardZone *z);
Player(const QString &_name, int _id, bool _local, Client *_client, Game *_parent);
Player(const QString &_name, int _id, bool _local, Client *_client, TabGame *_parent);
~Player();
void retranslateUi();
QMenu *getPlayerMenu() const { return playerMenu; }
@ -117,6 +118,8 @@ public:
void showCardMenu(const QPoint &p);
bool getActive() const { return active; }
void setActive(bool _active);
void processPlayerInfo(ServerInfo_Player *info);
};
#endif