mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 14:32:15 -07:00
Move comment.
Took 20 seconds
This commit is contained in:
parent
a2d4594d4f
commit
a03a4a7ca0
1 changed files with 3 additions and 3 deletions
|
|
@ -37,10 +37,11 @@ public:
|
||||||
QObject *parent = nullptr);
|
QObject *parent = nullptr);
|
||||||
|
|
||||||
void addCard(CardItem *card, bool reorganize, int x, int y = -1);
|
void addCard(CardItem *card, bool reorganize, int x, int y = -1);
|
||||||
void removeCard(CardItem *card);
|
|
||||||
// getCard() finds a card by id.
|
// getCard() finds a card by id.
|
||||||
virtual CardItem *takeCard(int position, int cardId, bool canResize = true);
|
|
||||||
CardItem *getCard(int cardId);
|
CardItem *getCard(int cardId);
|
||||||
|
void removeCard(CardItem *card);
|
||||||
|
// takeCard() finds a card by position and removes it from the zone and from all of its views.
|
||||||
|
virtual CardItem *takeCard(int position, int cardId, bool canResize = true);
|
||||||
|
|
||||||
void rawInsertCard(CardItem *card, int index)
|
void rawInsertCard(CardItem *card, int index)
|
||||||
{
|
{
|
||||||
|
|
@ -107,7 +108,6 @@ protected:
|
||||||
bool alwaysRevealTopCard;
|
bool alwaysRevealTopCard;
|
||||||
|
|
||||||
virtual void addCardImpl(CardItem *card, int x, int y) = 0;
|
virtual void addCardImpl(CardItem *card, int x, int y) = 0;
|
||||||
// takeCard() finds a card by position and removes it from the zone and from all of its views.
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // COCKATRICE_CARD_ZONE_LOGIC_H
|
#endif // COCKATRICE_CARD_ZONE_LOGIC_H
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue