mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-06 13:33:55 -07:00
1. CommandZoneMenu: Changed to take PlayerGraphicsItem* instead of
PlayerLogic*, accessing logic via player->getLogic()
2. Removed getCounterWidget() from PlayerLogic;
method already exists correctly in PlayerGraphicsItem
3. PlayerMenu: CommandZoneMenu, fixed signal
connection to use player->getLogic() for commandZoneSupportChanged
4. AbstractCounter: Connects to CounterState::activeChanged signal,
removing direct graphics calls from PlayerEventHandler
5. CommandZone: Explicit tax counter registration via registerTaxCounter()
with auto-cleanup, replacing childItems()/dynamic_cast iteration
Also fixed PlayerActions to query CounterState instead of AbstractCounter
for proper layer separation.
|
||
|---|---|---|
| .. | ||
| board | ||
| player | ||
| zones | ||
| abstract_game.cpp | ||
| abstract_game.h | ||
| arrow_registry.cpp | ||
| arrow_registry.h | ||
| game.cpp | ||
| game.h | ||
| game_event_handler.cpp | ||
| game_event_handler.h | ||
| game_meta_info.cpp | ||
| game_meta_info.h | ||
| game_state.cpp | ||
| game_state.h | ||
| phase.cpp | ||
| phase.h | ||
| replay.cpp | ||
| replay.h | ||
| selection_subtype_tally.cpp | ||
| selection_subtype_tally.h | ||