ability to directly attach from other zones (#5250)

* add attach and draw arrow actions to more card menus

* implement attaching from other zones

* disallow attaching from deck

* do nothing if target is already attached

* add null check
This commit is contained in:
RickyRister 2024-12-17 20:38:22 -08:00 committed by GitHub
parent c9d5d5609c
commit 03db4ccce6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 89 additions and 13 deletions

View file

@ -390,6 +390,7 @@ public:
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override;
void playCard(CardItem *c, bool faceDown, bool tapped);
void playCardToTable(CardItem *c, bool faceDown, bool tapped);
void addCard(CardItem *c);
void deleteCard(CardItem *c);
void addZone(CardZone *z);