#include <command.h>
Public Member Functions | |
BuildCommand (Entity *entity, EntityType entType, CommandType ct) | |
BuildCommand (BuildCommand &orig) | |
virtual bool | done () |
virtual void | init () |
virtual void | tick (double dt) |
virtual Command * | clone () |
virtual void | postProcess () |
Public Attributes | |
EntityType | entType |
bool | isDone |
Definition at line 57 of file command.h.
FastEcslent::BuildCommand::BuildCommand | ( | Entity * | entity, | |
EntityType | entType, | |||
CommandType | ct | |||
) | [inline] |
FastEcslent::BuildCommand::BuildCommand | ( | BuildCommand & | orig | ) | [inline] |
bool FastEcslent::BuildCommand::done | ( | ) | [inline, virtual] |
void FastEcslent::BuildCommand::init | ( | ) | [inline, virtual] |
Implements FastEcslent::Command.
Definition at line 66 of file command.cpp.
References FastEcslent::BUILDER, FastEcslent::Builder::enqueue(), FastEcslent::Command::entity, entType, FastEcslent::Entity::getAspect(), and isDone.
void FastEcslent::BuildCommand::tick | ( | double | dt | ) | [inline, virtual] |
virtual Command* FastEcslent::BuildCommand::clone | ( | ) | [inline, virtual] |
Reimplemented from FastEcslent::Command.
Definition at line 69 of file command.h.
References BuildCommand().
virtual void FastEcslent::BuildCommand::postProcess | ( | ) | [inline, virtual] |
The type of entity the BuildCommand constructs