SUNENGINE 0.0.2
A simple and bright C++ game engine.
 
Loading...
Searching...
No Matches
MouseKeyRegistrationCommand.h
1#ifndef MouseKeyRegistrationCommand_H
2#define MouseKeyRegistrationCommand_H
3
4#include "../CommandBase.h"
5#include "KeyboardEventManager.h"
6#include "Inputable.h"
7
8class Inputable;
9
18{
19public:
30
34 void Execute() override;
35
40
44 AZUL_MOUSE key;
45
50};
51
52#endif
Defines the base class for all command objects.
EventType
Enum class representing the types of input events.
Definition EventType.h:19
Base class for all command objects.
Definition CommandBase.h:19
Base class for objects that can handle keyboard input events.
Definition Inputable.h:23
void Execute() override
Executes the registration command for the key event.
Definition MouseKeyRegistrationCommand.cpp:6
EventType eventType
The event type to register.
Definition MouseKeyRegistrationCommand.h:49
AZUL_MOUSE key
The key to register.
Definition MouseKeyRegistrationCommand.h:44
MouseKeyRegistrationCommand(Inputable *in, AZUL_MOUSE k, EventType e)
Constructor for MouseKeyRegistrationCommand.
Definition MouseKeyRegistrationCommand.cpp:4
Inputable * ptrIn
Pointer to the Inputable object.
Definition MouseKeyRegistrationCommand.h:39