SUNENGINE 0.0.2
A simple and bright C++ game engine.
 
Loading...
Searching...
No Matches
GameObjectEntryCommand Class Reference

Command to handle the entry of a GameObject into the scene. More...

#include <GameObjectEntryCommand.h>

Inheritance diagram for GameObjectEntryCommand:
Inheritance graph

Public Member Functions

 GameObjectEntryCommand (GameObject *go)
 Constructor for GameObjectEntryCommand.
 
 GameObjectEntryCommand (const GameObjectEntryCommand &)=delete
 
GameObjectEntryCommandoperator= (const GameObjectEntryCommand &)=delete
 
void Execute () override
 Executes the entry command for the GameObject.
 
- Public Member Functions inherited from CommandBase
virtual ~CommandBase ()=default
 Destructor for CommandBase.
 

Public Attributes

GameObjectptrGO = nullptr
 Pointer to the GameObject to be entered into the scene.
 

Detailed Description

Command to handle the entry of a GameObject into the scene.

The GameObjectEntryCommand class is responsible for executing the entry of a GameObject into the scene. It inherits from the CommandBase class and overrides the Execute method to perform the entry action.

Constructor & Destructor Documentation

◆ GameObjectEntryCommand()

GameObjectEntryCommand::GameObjectEntryCommand ( GameObject * go)

Constructor for GameObjectEntryCommand.

Parameters
goPointer to the GameObject to be entered into the scene.

Member Function Documentation

◆ Execute()

void GameObjectEntryCommand::Execute ( )
overridevirtual

Executes the entry command for the GameObject.

Implements CommandBase.

Here is the call graph for this function:

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