Polyphase Game Engine
Loading...
Searching...
No Matches
ActionGroup Class Reference

#include <ActionManager.h>

Inheritance diagram for ActionGroup:
Action

Public Member Functions

 ActionGroup (const char *name)
 
 ~ActionGroup () override
 
void Add (Action *a)
 
bool IsEmpty () const
 
void Execute () override
 
void Reverse () override
 
const char * GetName () override
 
std::vector< Action * > & GetChildren ()
 
const std::vector< Action * > & GetChildren () const
 
- Public Member Functions inherited from Action
virtual ~Action ()
 

Constructor & Destructor Documentation

◆ ActionGroup()

ActionGroup::ActionGroup ( const char *  name)
explicit

◆ ~ActionGroup()

ActionGroup::~ActionGroup ( )
override

Member Function Documentation

◆ Add()

void ActionGroup::Add ( Action a)

◆ Execute()

void ActionGroup::Execute ( )
overridevirtual

Reimplemented from Action.

◆ GetChildren() [1/2]

std::vector< Action * > & ActionGroup::GetChildren ( )
inline

◆ GetChildren() [2/2]

const std::vector< Action * > & ActionGroup::GetChildren ( ) const
inline

◆ GetName()

const char * ActionGroup::GetName ( )
overridevirtual

Implements Action.

◆ IsEmpty()

bool ActionGroup::IsEmpty ( ) const
inline

◆ Reverse()

void ActionGroup::Reverse ( )
overridevirtual

Reimplemented from Action.


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