FastEcslent::BuildCommand Class Reference

#include <command.h>

Inheritance diagram for FastEcslent::BuildCommand:

FastEcslent::Command

List of all members.

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 Commandclone ()
virtual void postProcess ()

Public Attributes

EntityType entType
bool isDone


Detailed Description

Definition at line 57 of file command.h.


Constructor & Destructor Documentation

FastEcslent::BuildCommand::BuildCommand ( Entity entity,
EntityType  entType,
CommandType  ct 
) [inline]

Stores if the command has completed all it's actions

Definition at line 64 of file command.h.

Referenced by clone().

FastEcslent::BuildCommand::BuildCommand ( BuildCommand orig  )  [inline]

Definition at line 65 of file command.h.


Member Function Documentation

bool FastEcslent::BuildCommand::done (  )  [inline, virtual]

Implements FastEcslent::Command.

Definition at line 83 of file command.cpp.

References isDone.

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]

Implements FastEcslent::Command.

Definition at line 87 of file command.cpp.

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]

Implements FastEcslent::Command.

Definition at line 70 of file command.h.


Member Data Documentation

EntityType FastEcslent::BuildCommand::entType

Definition at line 61 of file command.h.

Referenced by init().

bool FastEcslent::BuildCommand::isDone

The type of entity the BuildCommand constructs

Definition at line 62 of file command.h.

Referenced by done(), and init().


The documentation for this class was generated from the following files:
Generated on Fri Dec 13 14:54:20 2013 for FastECSLent by  doxygen 1.5.4