Command to handle the exit of a GameObject from the scene. More...
#include <GameObjectExitCommand.h>

| Public Member Functions | |
| GameObjectExitCommand (GameObject *go) | |
| Constructor for GameObjectExitCommand. | |
| GameObjectExitCommand (const GameObjectExitCommand &)=delete | |
| GameObjectExitCommand & | operator= (const GameObjectExitCommand &)=delete | 
| void | Execute () override | 
| Executes the exit command for the GameObject. | |
|  Public Member Functions inherited from CommandBase | |
| virtual | ~CommandBase ()=default | 
| Destructor for CommandBase. | |
| Public Attributes | |
| GameObject * | ptrGO = nullptr | 
| Pointer to the GameObject to be exited from the scene. | |
Command to handle the exit of a GameObject from the scene.
The GameObjectExitCommand class is responsible for executing the exit of a GameObject from the scene. It inherits from the CommandBase class and overrides the Execute method to perform the exit action.
| GameObjectExitCommand::GameObjectExitCommand | ( | GameObject * | go | ) | 
Constructor for GameObjectExitCommand.
| go | Pointer to the GameObject to be exited from the scene. | 
| 
 | overridevirtual | 
Executes the exit command for the GameObject.
Implements CommandBase.
