mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 09:04:53 -07:00
some fixes
This commit is contained in:
parent
ca07cce5ed
commit
00a2f49c94
9 changed files with 128 additions and 67 deletions
|
|
@ -13,6 +13,8 @@ class QAction;
|
|||
class ZoneViewZone;
|
||||
class Game;
|
||||
class Counter;
|
||||
class TableZone;
|
||||
class HandZone;
|
||||
|
||||
class Player : public QObject, public QGraphicsItem {
|
||||
Q_OBJECT
|
||||
|
|
@ -29,7 +31,11 @@ signals:
|
|||
void logSetTapped(Player *player, QString cardName, bool tapped);
|
||||
void logSetCounter(Player *player, QString counterName, int value, int oldValue);
|
||||
void logSetDoesntUntap(Player *player, QString cardName, bool doesntUntap);
|
||||
|
||||
void sizeChanged();
|
||||
private slots:
|
||||
void updateBoundingRect();
|
||||
|
||||
void actMoveHandToTopLibrary();
|
||||
void actMoveHandToBottomLibrary();
|
||||
|
||||
|
|
@ -53,7 +59,11 @@ private:
|
|||
int id;
|
||||
bool active;
|
||||
bool local;
|
||||
|
||||
ZoneList zones;
|
||||
TableZone *table;
|
||||
HandZone *hand;
|
||||
|
||||
CardDatabase *db;
|
||||
void setCardAttrHelper(CardItem *card, const QString &aname, const QString &avalue, bool allCards);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue