[Refactor] Hold zone views and card view teardown outside game graphics

This commit is contained in:
Lukas Brübach 2026-10-06 23:55:15 +02:00 • committed by GitHub
parent dd04eed6d2
commit 9fcc6f1e88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 84 additions and 39 deletions

View file

@ -162,6 +162,11 @@ void ZoneViewZoneLogic::removeCard(int position, bool toNewZone)
reorganizeCards();
}
void ZoneViewZoneLogic::requestClose()
{
emit closeView();
}
void ZoneViewZoneLogic::clearCards()
{
for (auto card : cards) {