mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-26 16:43:55 -07:00
improved appearance
This commit is contained in:
parent
8782438fcc
commit
6e94221112
20 changed files with 158 additions and 77 deletions
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue