mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-02 03:23:56 -07:00
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:
parent
c9d5d5609c
commit
03db4ccce6
4 changed files with 89 additions and 13 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue