drop the dead payloads from the state-change events

This commit is contained in:
2026-08-03 22:02:47 +02:00
parent d9ef6aa728
commit 906000b0e9
6 changed files with 17 additions and 32 deletions

View File

@@ -2,16 +2,11 @@
#define BOSS_WAVE_UPDATED_EVENT_H
#include "Event.h"
#include "Tick.h"
// Fired when the boss wave counter or its countdown changes. Carries no payload —
// subscribers re-read Simulation::getBossWaveCounter() and getBossCountdownTicks().
class BossWaveUpdatedEvent : public Event
{
public:
BossWaveUpdatedEvent(int counter, Tick countdownTicks)
: counter(counter), countdownTicks(countdownTicks) {}
const int counter;
const Tick countdownTicks;
};
#endif // BOSS_WAVE_UPDATED_EVENT_H