Sly Engine
GameObjectExitCommand Class Reference

#include <GameObjectExitCommand.h>

Inheritance diagram for GameObjectExitCommand:
Inheritance graph
Collaboration diagram for GameObjectExitCommand:
Collaboration graph

Public Member Functions

 GameObjectExitCommand ()=delete
 Default constructor. More...
 
 GameObjectExitCommand (const GameObjectExitCommand &)=delete
 Copy constructor. More...
 
 GameObjectExitCommand (GameObjectExitCommand &&)=delete
 Move constructor. More...
 
GameObjectExitCommandoperator= (const GameObjectExitCommand &)=delete
 Assignment operator. More...
 
GameObjectExitCommandoperator= (GameObjectExitCommand &&)=delete
 Move assignment operator. More...
 
virtual ~GameObjectExitCommand ()=default
 Deconstructor. More...
 
 GameObjectExitCommand (GameObject *ptrOb)
 Constructor. More...
 
void execute () override
 Executes this command. More...
 
- Public Member Functions inherited from SceneRegistry
 SceneRegistry ()=default
 Default constructor. More...
 
 SceneRegistry (const SceneRegistry &)=delete
 Copy constructor. More...
 
 SceneRegistry (SceneRegistry &&)=delete
 Move constructor. More...
 
SceneRegistryoperator= (const SceneRegistry &)=delete
 Assignment operator. More...
 
SceneRegistryoperator= (SceneRegistry &&)=delete
 Move assignment operator. More...
 
virtual ~SceneRegistry ()=default
 Deconstructor. More...
 
- Public Member Functions inherited from CommandBase
 CommandBase ()=default
 Default constructor. More...
 
 CommandBase (const CommandBase &)=delete
 Copy constructor. More...
 
 CommandBase (CommandBase &&)=delete
 Move constructor. More...
 
CommandBaseoperator= (const CommandBase &)=delete
 Assignment operator. More...
 
CommandBaseoperator= (CommandBase &&)=delete
 Move assignment operator. More...
 
virtual ~CommandBase ()=default
 Deconstructor. More...
 

Public Attributes

GameObjectptrOb
 The pointer to the GameObject. More...
 

Constructor & Destructor Documentation

◆ GameObjectExitCommand() [1/4]

GameObjectExitCommand::GameObjectExitCommand ( )
delete

Default constructor.

◆ GameObjectExitCommand() [2/4]

GameObjectExitCommand::GameObjectExitCommand ( const GameObjectExitCommand )
delete

Copy constructor.

◆ GameObjectExitCommand() [3/4]

GameObjectExitCommand::GameObjectExitCommand ( GameObjectExitCommand &&  )
delete

Move constructor.

◆ ~GameObjectExitCommand()

virtual GameObjectExitCommand::~GameObjectExitCommand ( )
virtualdefault

Deconstructor.

◆ GameObjectExitCommand() [4/4]

GameObjectExitCommand::GameObjectExitCommand ( GameObject ptrOb)

Constructor.

Parameters
[in,out]ptrObIf non-null, the pointer to the GameObject.

Member Function Documentation

◆ execute()

void GameObjectExitCommand::execute ( )
overridevirtual

Executes this command.

Implements CommandBase.

Here is the call graph for this function:

◆ operator=() [1/2]

GameObjectExitCommand& GameObjectExitCommand::operator= ( const GameObjectExitCommand )
delete

Assignment operator.

◆ operator=() [2/2]

GameObjectExitCommand& GameObjectExitCommand::operator= ( GameObjectExitCommand &&  )
delete

Move assignment operator.

Member Data Documentation

◆ ptrOb

GameObject* GameObjectExitCommand::ptrOb

The pointer to the GameObject.


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