Simple C++ Game
|
A class representing an event that has occurred. More...
#include <Event.hpp>
Public Member Functions | |
Event (std::string type) | |
Construct a new Event object. More... | |
std::string | getType () const |
Get the Type of the event. More... | |
A class representing an event that has occurred.
Event::Event | ( | std::string | type | ) |
Construct a new Event object.
Constructs a new event of the specified type.
type | The type of the event, typically declared as a static member of the class creating the event. |
std::string Event::getType | ( | ) | const |
Get the Type of the event.