SUNENGINE 0.0.2
A simple and bright C++ game engine.
 
Loading...
Searching...
No Matches
MouseKeyDeregistrationCommand.h
1#ifndef MouseKeyDeregistrationCommand_H
2#define MouseKeyDeregistrationCommand_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 deregistration command for the key event.
Definition MouseKeyDeregistrationCommand.cpp:6
EventType eventType
The event type to deregister.
Definition MouseKeyDeregistrationCommand.h:49
MouseKeyDeregistrationCommand(Inputable *in, AZUL_MOUSE k, EventType e)
Constructor for MouseKeyDeregistrationCommand.
Definition MouseKeyDeregistrationCommand.cpp:4
Inputable * ptrIn
Pointer to the Inputable object.
Definition MouseKeyDeregistrationCommand.h:39
AZUL_MOUSE key
The key to deregister.
Definition MouseKeyDeregistrationCommand.h:44