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

Manages the registration and execution of commands for scene registration. More...

#include <SceneRegistrationBroker.h>

Public Member Functions

 SceneRegistrationBroker (const SceneRegistrationBroker &)=delete
 
SceneRegistrationBrokeroperator= (const SceneRegistrationBroker &)=delete
 
void AddCommand (CommandBase *cmd)
 Adds a command to the list of commands.
 
void ExecuteCommands ()
 Executes all the commands in the list.
 

Private Attributes

std::list< CommandBase * > commandList
 List of commands to be executed.
 

Detailed Description

Manages the registration and execution of commands for scene registration.

The SceneRegistrationBroker class is responsible for managing the registration and execution of commands related to scene registration. It provides methods to add commands to a list and execute them.

Member Function Documentation

◆ AddCommand()

void SceneRegistrationBroker::AddCommand ( CommandBase * cmd)

Adds a command to the list of commands.

Parameters
cmdThe command to be added.

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