SUNENGINE 0.0.2
A simple and bright C++ game engine.
 
Loading...
Searching...
No Matches
UpdateDeregistrationCommand.h
1#ifndef UpdateDeregistrationCommand_H
2#define UpdateDeregistrationCommand_H
3
4#include "../CommandBase.h"
5
6class Updatable;
7
17{
18public:
27
33 void Execute() override;
34
38 Updatable* ptrUp = nullptr;
39};
40
41#endif
Defines the base class for all command objects.
Base class for all command objects.
Definition CommandBase.h:19
Base class for objects that can be updated in the game loop.
Definition Updatable.h:19
UpdateDeregistrationCommand(Updatable *up)
Constructor for UpdateDeregistrationCommand.
Definition UpdateDeregistrationCommand.cpp:5
void Execute() override
Executes the deregistration command.
Definition UpdateDeregistrationCommand.cpp:7
Updatable * ptrUp
Pointer to the updatable object to be deregistered.
Definition UpdateDeregistrationCommand.h:38