replace combined stateUpdated signal with individual events
This commit is contained in:
14
src/lib/eventsystem/event/BuildingBlocksChangedEvent.h
Normal file
14
src/lib/eventsystem/event/BuildingBlocksChangedEvent.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef BUILDING_BLOCKS_CHANGED_EVENT_H
|
||||
#define BUILDING_BLOCKS_CHANGED_EVENT_H
|
||||
|
||||
#include "Event.h"
|
||||
|
||||
class BuildingBlocksChangedEvent : public Event
|
||||
{
|
||||
public:
|
||||
explicit BuildingBlocksChangedEvent(int blocks) : blocks(blocks) {}
|
||||
const int blocks;
|
||||
};
|
||||
|
||||
#endif // BUILDING_BLOCKS_CHANGED_EVENT_H
|
||||
|
||||
Reference in New Issue
Block a user