Base class for all command objects. More...
#include <CommandBase.h>
Public Member Functions | |
virtual void | Execute ()=0 |
Executes the command. | |
virtual | ~CommandBase ()=default |
Destructor for CommandBase. | |
Base class for all command objects.
The CommandBase class serves as the base class for all command objects. It provides a pure virtual method Execute
that must be implemented by derived classes.
|
pure virtual |
Executes the command.
This pure virtual method must be implemented by derived classes to define the command's behavior.
Implemented in AlarmDeregistrationCommand, AlarmRegistrationCommand, CollisionDeregistrationCommand, CollisionRegistrationCommand, DrawDeregistrationCommand, DrawRegistrationCommand, GameObjectEntryCommand, GameObjectExitCommand, KeyDeregistrationCommand, KeyRegistrationCommand, MouseKeyDeregistrationCommand, MouseKeyRegistrationCommand, UICommand, UIDropdownCommand, UpdateDeregistrationCommand, and UpdateRegistrationCommand.