Base class for input actions, manages listeners and notifies them of action events.
virtual ActionType GetType() const;
Returns the type of the input action.
std::string GetName();
Returns the name of the input action.
void SetName(std::string newName);
Sets the name of the input action.
void AddListener(IActionListener* listener);
Adds a listener to be notified of action events.
void RemoveListener(IActionListener* listener);
Removes a listener from the notification list.
void ClearListeners();
Removes all listeners.