SUNENGINE 0.0.2
A simple and bright C++ game engine.
 
Loading...
Searching...
No Matches
DrawDeregistrationCommand.h
1#ifndef DrawDeregistrationCommand_H
2#define DrawDeregistrationCommand_H
3
4#include "../CommandBase.h"
5
6class Drawable;
7
17{
18public:
25 DrawDeregistrationCommand& operator=(const DrawDeregistrationCommand&) = delete;
27
32 void Execute() override;
33
37 Drawable* ptrDr = nullptr;
38};
39
40#endif
Defines the base class for all command objects.
Base class for all command objects.
Definition CommandBase.h:19
void Execute() override
Executes the deregistration command. This method deregisters the drawable object from the DrawableMan...
Definition DrawDeregistrationCommand.cpp:7
Drawable * ptrDr
Pointer to the drawable object to be deregistered.
Definition DrawDeregistrationCommand.h:37
DrawDeregistrationCommand(Drawable *dr)
Constructor for DrawDeregistrationCommand.
Definition DrawDeregistrationCommand.cpp:5
Base class for objects that can be drawn in the game loop.
Definition Drawable.h:19