Add tick thread and Skirmish state update

Introduce `AppEvent::Tick` and a background thread that emits timed
events. `App` now handles `Tick` by calling a new `update` method,
which advances the board and increments a `turn_counter` in
`SkirmishState`. Add required imports, fields, and the
`spawn_tick_thread` call in `main`.
This commit is contained in:
2026-05-03 18:14:46 +02:00
parent b639531841
commit 7fb001faab
7 changed files with 54 additions and 3 deletions
+1
View File
@@ -35,6 +35,7 @@ impl GameStates {
false,
),
side_panel: false,
turn_counter: 0,
},
perk_decks: PerkDecksState {
id: 2,