5#include "KeyboardEventManager.h"
25 Inputable() =
default;
26 Inputable(
const Inputable&) =
delete;
27 Inputable& operator=(
const Inputable&) =
delete;
59 friend class InputableAttorney;
98 return std::tie(key, eventType) < std::tie(other.key, other.eventType);
117 return std::tie(key, eventType) < std::tie(other.key, other.eventType);
124 using KeyMap = std::map<KeyEventPair, RegistrationData*>;
129 using MouseKeyMap = std::map<MouseKeyEventPair, MouseRegistrationData*>;
Defines the event types for input handling.
EventType
Enum class representing the types of input events.
Definition EventType.h:19
Defines the registration states for GameObjects.
RegistrationState
Enum class representing the registration states of GameObjects.
Definition RegistrationState.h:19
Command to handle the deregistration of a key event for an Inputable object.
Definition KeyDeregistrationCommand.h:18
Command to handle the registration of a key event for an Inputable object.
Definition KeyRegistrationCommand.h:18
MapMouseKeyManager::iterator StorageMapMouseRef
Type alias for the storage map mouse iterator.
Definition KeyboardEventManager.h:92
MapKeyManager::iterator StorageMapRef
Type alias for the storage map iterator.
Definition KeyboardEventManager.h:87
Command to handle the deregistration of a key event for an Inputable object.
Definition MouseKeyDeregistrationCommand.h:18
Command to handle the registration of a key event for an Inputable object.
Definition MouseKeyRegistrationCommand.h:18