mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-07 18:43:26 -08:00
[Refactor] Give graphics zones a card item cache and own card placement (#7427)
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
parent
4879ddbd0f
commit
47c90cda10
18 changed files with 111 additions and 74 deletions
|
|
@ -14,6 +14,9 @@ void CardState::resetState(bool keepAnnotations)
|
|||
annotation.clear();
|
||||
}
|
||||
attachedTo = nullptr;
|
||||
setTapped(false, false);
|
||||
setDoesntUntap(false);
|
||||
emit stateReset();
|
||||
}
|
||||
|
||||
void CardState::setCardRef(const CardRef &_cardRef)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue