43 #include "UI/action.h"
56 this->
AddEvent(Action::EventActionActivated);
57 this->
AddEvent(Action::EventActionDeactivated);
const String & GetName() const
Gets the name of this Action.
bool Boole
Generally acts a single bit, true or false.
A simple reference counting pointer.
void _OnActivateAction()
Runs all logic associated with this Action being activated.
const String ActionName
The name of this action.
This class is the core class responsible for the management of actions.
~Action()
Class destructor.
Event * AddEvent(const String &EventName)
Creates a new event this Publisher can fire.
void FireEvent(EventArgumentsPtr Args)
Fires an event.
Action(const String &Name, ActionHandler *Handler)
Class constructor.
The bulk of the engine components go in this namspace.
This is the base class for action specific event arguments.
static const String EventActionActivated
Event name for when this Action is activated.
Boole _HandleInput(const Input::MetaCode &Code)
Handles input passed to this Action.
void _OnDeactivateAction()
Runs all logic associated with this Action being deactivated.
std::string String
A datatype used to a series of characters.
static const String EventActionDeactivated
Event name for when this Action is deactivated.