improved appearance

This commit is contained in:
Max-Wilhelm Bruker 2009-03-25 17:02:44 +01:00
parent 8782438fcc
commit 6e94221112
20 changed files with 158 additions and 77 deletions

View file

@ -11,6 +11,7 @@ class Client;
class CardDatabase;
class QMenu;
class QAction;
class PlayerArea;
class Player : public QObject {
Q_OBJECT
@ -42,6 +43,8 @@ private:
QAction *aMoveHandToTopLibrary, *aMoveHandToBottomLibrary,
*aViewLibrary, *aViewTopCards, *aViewGraveyard, *aViewRfg, *aViewSideboard;
PlayerArea *area;
int defaultNumberTopCards;
QString name;
int id;
@ -54,7 +57,7 @@ public:
Client *client;
void addZone(CardZone *z);
void addCounter(Counter *c);
Player(const QString &_name, int _id, QPointF _base, bool _local, CardDatabase *_db, Client *_client);
Player(const QString &_name, int _id, QPointF _base, bool _local, CardDatabase *_db, Client *_client, QGraphicsScene *_scene);
~Player();
QMenu *getPlayerMenu() const { return playerMenu; }
int getId() const { return id; }