SUNENGINE 0.0.2
A simple and bright C++ game engine.
 
Loading...
Searching...
No Matches
MouseKeyDeregistrationCommand Class Reference

Command to handle the deregistration of a key event for an Inputable object. More...

#include <MouseKeyDeregistrationCommand.h>

Inheritance diagram for MouseKeyDeregistrationCommand:
Inheritance graph

Public Member Functions

 MouseKeyDeregistrationCommand (Inputable *in, AZUL_MOUSE k, EventType e)
 Constructor for MouseKeyDeregistrationCommand.
 
 MouseKeyDeregistrationCommand (const MouseKeyDeregistrationCommand &)=delete
 
MouseKeyDeregistrationCommandoperator= (const MouseKeyDeregistrationCommand &)=delete
 
void Execute () override
 Executes the deregistration command for the key event.
 
- Public Member Functions inherited from CommandBase
virtual ~CommandBase ()=default
 Destructor for CommandBase.
 

Public Attributes

InputableptrIn
 Pointer to the Inputable object.
 
AZUL_MOUSE key
 The key to deregister.
 
EventType eventType
 The event type to deregister.
 

Detailed Description

Command to handle the deregistration of a key event for an Inputable object.

The MouseKeyDeregistrationCommand class is responsible for executing the deregistration of a key event for an Inputable object. It inherits from the CommandBase class and overrides the Execute method to perform the deregistration action.

Constructor & Destructor Documentation

◆ MouseKeyDeregistrationCommand()

MouseKeyDeregistrationCommand::MouseKeyDeregistrationCommand ( Inputable * in,
AZUL_MOUSE k,
EventType e )

Constructor for MouseKeyDeregistrationCommand.

Parameters
inPointer to the Inputable object.
kThe key to deregister.
eThe event type to deregister.

Member Function Documentation

◆ Execute()

void MouseKeyDeregistrationCommand::Execute ( )
overridevirtual

Executes the deregistration command for the key event.

Implements CommandBase.

Here is the call graph for this function:

The documentation for this class was generated from the following files: