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,14 +2,11 @@
#define TICK_ADVANCED_EVENT_H
#include "Event.h"
#include "Tick.h"
// Fired when the simulation tick advances. Carries no payload — subscribers
// re-read Simulation::getCurrentTick().
class TickAdvancedEvent : public Event
{
public:
explicit TickAdvancedEvent(Tick tick) : tick(tick) {}
const Tick tick;
};
#endif // TICK_ADVANCED_EVENT_H