From a03a4a7ca0bd37eb9a97e685ad2482f7059f4b1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Br=C3=BCbach?= Date: Wed, 10 Sep 2025 09:17:49 +0200 Subject: [PATCH] Move comment. Took 20 seconds --- cockatrice/src/game/zones/logic/card_zone_logic.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cockatrice/src/game/zones/logic/card_zone_logic.h b/cockatrice/src/game/zones/logic/card_zone_logic.h index 07fbbceef..166f63506 100644 --- a/cockatrice/src/game/zones/logic/card_zone_logic.h +++ b/cockatrice/src/game/zones/logic/card_zone_logic.h @@ -37,10 +37,11 @@ public: QObject *parent = nullptr); void addCard(CardItem *card, bool reorganize, int x, int y = -1); - void removeCard(CardItem *card); // getCard() finds a card by id. - virtual CardItem *takeCard(int position, int cardId, bool canResize = true); 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) { @@ -107,7 +108,6 @@ protected: bool alwaysRevealTopCard; 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