R-Type  2
Doom but in better
Loading...
Searching...
No Matches
EventSystem.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "Registry.hpp"
4
15
26bool validateAction(const GameMessage& event, Registry& r);
27
38bool performAction(const GameMessage& event, Registry& r);
bool performAction(const GameMessage &event, Registry &r)
Performs the action associated with the event.
bool validateAction(const GameMessage &event, Registry &r)
Validates the action associated with the event.
void event_system(Registry &r)
Processes events from the queue and performs actions.
Registry * r
Definition Tests.cpp:4
Manages entities and their associated components, enabling the creation, deletion,...
Definition Registry.hpp:23
A structure representing a game message.