128 virtual std::pair<bool,
130 std::vector<std::optional<std::shared_ptr<IComponent>>>>>
140 std::optional<std::shared_ptr<IComponent>> component =
Definition: ArcadeStruct.hpp:10
The IEventManager interface.
Definition: IEventManager.hpp:105
virtual ~IEventManager()=default
virtual void clearEvents()=0
Remove all events from list of trigered events.
virtual std::pair< bool, std::optional< std::vector< std::optional< std::shared_ptr< IComponent > > > > > isEventTriggered(const std::string &event) const =0
Check if an event was trigered.
virtual bool eventsIsEmpty() const =0
Check if there is no event trigered.
virtual void addEvent(const std::string &event, std::optional< std::shared_ptr< IComponent >> component=std::nullopt)=0
Add an event to list of trigered events.