flimEngine
SceneChangeCommand Class Reference

Replaces scene update command in SceneManager update and tells scene to change. More...

#include <SceneChangeCommand.h>

Inheritance diagram for SceneChangeCommand:
Inheritance graph
Collaboration diagram for SceneChangeCommand:
Collaboration graph

Public Member Functions

 SceneChangeCommand ()=delete
 
 SceneChangeCommand (const SceneChangeCommand &)=default
 
 ~SceneChangeCommand ()=default
 
SceneChangeCommandoperator= (const SceneChangeCommand &)=default
 
 SceneChangeCommand (Scene *_scene)
 
void execute () override
 
- Public Member Functions inherited from Command
 Command ()
 
virtual ~Command ()
 
Commandoperator= (const Command &)=default
 
 Command (const Command &)=default
 
 Command ()=default
 
 ~Command ()
 
Commandoperator= (const Command &)=default
 
 Command (const Command &)=default
 

Private Attributes

Scenescene
 

Detailed Description

Replaces scene update command in SceneManager update and tells scene to change.

Author
Jack Campbell
Date
3/5/2017

Constructor & Destructor Documentation

◆ SceneChangeCommand() [1/3]

SceneChangeCommand::SceneChangeCommand ( )
delete

◆ SceneChangeCommand() [2/3]

SceneChangeCommand::SceneChangeCommand ( const SceneChangeCommand )
default

◆ ~SceneChangeCommand()

SceneChangeCommand::~SceneChangeCommand ( )
default

◆ SceneChangeCommand() [3/3]

SceneChangeCommand::SceneChangeCommand ( Scene _scene)

Member Function Documentation

◆ execute()

void SceneChangeCommand::execute ( )
overridevirtual

Reimplemented from Command.

◆ operator=()

SceneChangeCommand& SceneChangeCommand::operator= ( const SceneChangeCommand )
default

Member Data Documentation

◆ scene

Scene* SceneChangeCommand::scene
private

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