Sly Engine
|
#include <SceneChangeCommandSwap.h>
Public Member Functions | |
SceneChangeCommandSwap () | |
SceneChangeCommandSwap (const SceneChangeCommandSwap &)=delete | |
Default constructor. More... | |
SceneChangeCommandSwap (SceneChangeCommandSwap &&)=delete | |
Move constructor. More... | |
SceneChangeCommandSwap & | operator= (const SceneChangeCommandSwap &)=delete |
Assignment operator. More... | |
SceneChangeCommandSwap & | operator= (SceneChangeCommandSwap &&)=delete |
Move assignment operator. More... | |
virtual | ~SceneChangeCommandSwap ()=default |
Deconstructor. More... | |
SceneChangeCommandSwap (SceneManager *inputMgr, Scene *theScene) | |
Constructor. More... | |
void | Initialize (SceneManager *inputMgr, Scene *theScene) |
Initializes this. More... | |
virtual void | execute () override |
Executes this command. More... | |
Public Member Functions inherited from SceneChangeCommandBase | |
SceneChangeCommandBase ()=default | |
Default constructor. More... | |
SceneChangeCommandBase (const SceneChangeCommandBase &)=delete | |
Copy constructor. More... | |
SceneChangeCommandBase (SceneChangeCommandBase &&)=delete | |
Move constructor. More... | |
SceneChangeCommandBase & | operator= (const SceneChangeCommandBase &)=delete |
Assignment operator. More... | |
SceneChangeCommandBase & | operator= (SceneChangeCommandBase &&)=delete |
Move assignment operator. More... | |
virtual | ~SceneChangeCommandBase ()=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... | |
CommandBase & | operator= (const CommandBase &)=delete |
Assignment operator. More... | |
CommandBase & | operator= (CommandBase &&)=delete |
Move assignment operator. More... | |
virtual | ~CommandBase ()=default |
Deconstructor. More... | |
Private Attributes | |
SceneManager * | sceneMgr |
Manager for scene. More... | |
Scene * | storedScene |
The stored scene. More... | |
Friends | |
class | SceneManagerAttorney |
|
inline |
|
delete |
Default constructor.
Copy constructor
|
delete |
Move constructor.
|
virtualdefault |
Deconstructor.
SceneChangeCommandSwap::SceneChangeCommandSwap | ( | SceneManager * | inputMgr, |
Scene * | theScene | ||
) |
Constructor.
[in,out] | inputMgr | If non-null, manager for input. |
[in,out] | theScene | If non-null, the scene. |
|
overridevirtual |
void SceneChangeCommandSwap::Initialize | ( | SceneManager * | inputMgr, |
Scene * | theScene | ||
) |
Initializes this.
[in,out] | inputMgr | If non-null, manager for input. |
[in,out] | theScene | If non-null, the scene. |
|
delete |
Assignment operator.
|
delete |
Move assignment operator.
|
friend |
|
private |
Manager for scene.
|
private |
The stored scene.