mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-08 09:03:57 -07:00
[Game] Refactor move cards from library actions (#6658)
* refactor move top/bottom cards actions * minor cleanup * translate zone display names
This commit is contained in:
parent
b36ab66583
commit
e7a3ad86eb
2 changed files with 25 additions and 62 deletions
|
|
@ -180,6 +180,9 @@ private:
|
|||
FilterString movingCardsUntilFilter;
|
||||
int movingCardsUntilCounter = 0;
|
||||
|
||||
void moveTopCardsTo(const QString &targetZone, const QString &zoneDisplayName);
|
||||
void moveBottomCardsTo(const QString &targetZone, const QString &zoneDisplayName);
|
||||
|
||||
void createCard(const CardItem *sourceCard,
|
||||
const QString &dbCardName,
|
||||
CardRelationType attach = CardRelationType::DoesNotAttach,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue