mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-08 19:13:25 -08:00
[Refactor] Hold zone views and card view teardown outside game graphics
This commit is contained in:
parent
dd04eed6d2
commit
9fcc6f1e88
9 changed files with 84 additions and 39 deletions
|
|
@ -162,6 +162,11 @@ void ZoneViewZoneLogic::removeCard(int position, bool toNewZone)
|
|||
reorganizeCards();
|
||||
}
|
||||
|
||||
void ZoneViewZoneLogic::requestClose()
|
||||
{
|
||||
emit closeView();
|
||||
}
|
||||
|
||||
void ZoneViewZoneLogic::clearCards()
|
||||
{
|
||||
for (auto card : cards) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue