make HeaderBar read the tick, artifacts and boss wave from the simulation instead of event

This commit is contained in:
2026-08-03 22:02:19 +02:00
parent b44a85685e
commit d9ef6aa728
2 changed files with 14 additions and 10 deletions

View File

@@ -75,8 +75,8 @@ private:
ItemIconCache* m_itemIcons; // Not owned; lives in MainWindow.
// The simulation is the single source of truth for the block stock and the
// expansion cost; the change events are only refresh signals.
// The simulation is the single source of truth for everything the header
// displays; the change events are only refresh signals.
const Simulation* m_sim;
static const double kSpeeds[];