Sly Engine
GodCamCommand Class Reference

#include <GodCamCommand.h>

Inheritance diagram for GodCamCommand:
Inheritance graph
Collaboration diagram for GodCamCommand:
Collaboration graph

Public Member Functions

 GodCamCommand ()=default
 Default Constructor. More...
 
 GodCamCommand (const GodCamCommand &)=delete
 Copy Constructor. More...
 
 GodCamCommand (GodCamCommand &&)=delete
 Move operator. More...
 
GodCamCommandoperator= (const GodCamCommand &)=delete
 Copy assignment operator. More...
 
GodCamCommandoperator= (GodCamCommand &&)=delete
 Move assignment operator. More...
 
virtual ~GodCamCommand ()=default
 Destructor (Virtual from CommandBase) More...
 
virtual void execute () override
 Executes the Godcam command. More...
 
- Public Member Functions inherited from ConsoleCommand
 ConsoleCommand ()=default
 Default Constructor. More...
 
 ConsoleCommand (const ConsoleCommand &)=delete
 Copy Constructor. More...
 
 ConsoleCommand (ConsoleCommand &&)=delete
 Move operator. More...
 
ConsoleCommandoperator= (const ConsoleCommand &)=delete
 Copy assignment operator. More...
 
ConsoleCommandoperator= (ConsoleCommand &&)=delete
 Move assignment operator. More...
 
virtual ~ConsoleCommand ()=default
 Destructor (Virtual from CommandBase) More...
 
virtual void initialize (std::vector< std::string > arguments)
 Initializer list of arguments. 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...
 

Constructor & Destructor Documentation

◆ GodCamCommand() [1/3]

GodCamCommand::GodCamCommand ( )
default

Default Constructor.

◆ GodCamCommand() [2/3]

GodCamCommand::GodCamCommand ( const GodCamCommand )
delete

Copy Constructor.

◆ GodCamCommand() [3/3]

GodCamCommand::GodCamCommand ( GodCamCommand &&  )
delete

Move operator.

◆ ~GodCamCommand()

virtual GodCamCommand::~GodCamCommand ( )
virtualdefault

Destructor (Virtual from CommandBase)

Member Function Documentation

◆ execute()

void GodCamCommand::execute ( )
overridevirtual

Executes the Godcam command.

By executing the godcam command, the scene manager will activate the godcam and the godcam will be set as the main camera. There is currently not a way to return to the user's command after triggering.

Implements ConsoleCommand.

Here is the call graph for this function:

◆ operator=() [1/2]

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

Copy assignment operator.

◆ operator=() [2/2]

GodCamCommand& GodCamCommand::operator= ( GodCamCommand &&  )
delete

Move assignment operator.


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