[Game] Move state fields out of CardItem (#6904)

* [Game] Move state fields out of CardItem

Took 1 hour 2 minutes

* Move stuff into .cpp

Took 14 minutes

* Signals pass changed values as params

Took 2 minutes

* Comments.

Took 23 minutes

---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
BruebachL 2026-05-18 20:21:57 +02:00 committed by GitHub
parent 021a9f8383
commit 7a5b2e9f0e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 274 additions and 75 deletions

View file

@ -64,6 +64,7 @@ set(cockatrice_SOURCES
src/game/board/card_drag_item.cpp
src/game/board/card_item.cpp
src/game/board/card_list.cpp
src/game/board/card_state.cpp
src/game/board/counter_general.cpp
src/game/board/translate_counter_name.cpp
src/game/deckview/deck_view.cpp