FastEcslent::Command Class Reference

#include <command.h>

Inheritance diagram for FastEcslent::Command:

FastEcslent::BuildCommand FastEcslent::GasFieldCommand FastEcslent::Tactic FastEcslent::Tactic FastEcslent::Tactic FastEcslent::Tactic FastEcslent::Tactic FastEcslent::UnitCommand FastEcslent::UnitCommand FastEcslent::UnitCommand FastEcslent::UnitCommand FastEcslent::UnitCommand

List of all members.

Public Member Functions

 Command (CommandType ct, Entity *entity=NULL)
 Command (Command &orig)
virtual bool done ()=0
virtual void init ()=0
virtual void tick (double dt)=0
virtual void postProcess ()=0
virtual Commandclone ()
 Command (CommandType ct)
virtual bool done ()=0
virtual void init ()=0
virtual void tick (double dt)=0
virtual void postProcess ()=0
 Command (CommandType ct)
virtual bool done ()=0
virtual void init ()=0
virtual void tick (double dt)=0
virtual void postProcess ()=0
 Command (CommandType ct)
virtual bool done ()=0
virtual void init ()=0
virtual void tick (double dt)=0
virtual void postProcess ()=0
 Command (CommandType ct)
virtual bool done ()=0
virtual void init ()=0
virtual void tick (double dt)=0
virtual void postProcess ()=0

Public Attributes

CommandType commandType
Entityentity


Detailed Description

Definition at line 43 of file command.h.


Constructor & Destructor Documentation

FastEcslent::Command::Command ( CommandType  ct,
Entity entity = NULL 
) [inline]

The entity that the command is being issued to

Definition at line 47 of file command.h.

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

Definition at line 48 of file command.h.

FastEcslent::Command::Command ( CommandType  ct  )  [inline]

Definition at line 44 of file command.h.

References commandType.

FastEcslent::Command::Command ( CommandType  ct  )  [inline]

Definition at line 44 of file command.h.

References commandType.

FastEcslent::Command::Command ( CommandType  ct  )  [inline]

Definition at line 44 of file command.h.

References commandType.

FastEcslent::Command::Command ( CommandType  ct  )  [inline]

Definition at line 44 of file command.h.

References commandType.


Member Function Documentation

virtual bool FastEcslent::Command::done (  )  [pure virtual]

Implemented in FastEcslent::Gather, FastEcslent::BuildCommand, FastEcslent::GasFieldCommand, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, and FastEcslent::Flock.

virtual void FastEcslent::Command::init (  )  [pure virtual]

Implemented in FastEcslent::Gather, FastEcslent::BuildCommand, FastEcslent::GasFieldCommand, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, and FastEcslent::Flock.

Referenced by FastEcslent::UnitAI::addCommand(), and FastEcslent::UnitAI::setCommand().

virtual void FastEcslent::Command::tick ( double  dt  )  [pure virtual]

Implemented in FastEcslent::Gather, FastEcslent::BuildCommand, FastEcslent::GasFieldCommand, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, and FastEcslent::Flock.

virtual void FastEcslent::Command::postProcess (  )  [pure virtual]

Implemented in FastEcslent::Gather, FastEcslent::BuildCommand, FastEcslent::GasFieldCommand, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::PotentialMove, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::PotentialMove, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::PotentialMove, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::PotentialMove, and FastEcslent::Flock.

virtual Command* FastEcslent::Command::clone (  )  [inline, virtual]

Reimplemented in FastEcslent::Gather, FastEcslent::BuildCommand, FastEcslent::GasFieldCommand, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, and FastEcslent::Flock.

Definition at line 54 of file command.h.

virtual bool FastEcslent::Command::done (  )  [pure virtual]

Implemented in FastEcslent::Gather, FastEcslent::BuildCommand, FastEcslent::GasFieldCommand, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, and FastEcslent::Flock.

virtual void FastEcslent::Command::init (  )  [pure virtual]

Implemented in FastEcslent::Gather, FastEcslent::BuildCommand, FastEcslent::GasFieldCommand, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, and FastEcslent::Flock.

virtual void FastEcslent::Command::tick ( double  dt  )  [pure virtual]

Implemented in FastEcslent::Gather, FastEcslent::BuildCommand, FastEcslent::GasFieldCommand, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, and FastEcslent::Flock.

virtual void FastEcslent::Command::postProcess (  )  [pure virtual]

Implemented in FastEcslent::Gather, FastEcslent::BuildCommand, FastEcslent::GasFieldCommand, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::PotentialMove, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::PotentialMove, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::PotentialMove, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::PotentialMove, and FastEcslent::Flock.

virtual bool FastEcslent::Command::done (  )  [pure virtual]

Implemented in FastEcslent::Gather, FastEcslent::BuildCommand, FastEcslent::GasFieldCommand, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, and FastEcslent::Flock.

virtual void FastEcslent::Command::init (  )  [pure virtual]

Implemented in FastEcslent::Gather, FastEcslent::BuildCommand, FastEcslent::GasFieldCommand, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, and FastEcslent::Flock.

virtual void FastEcslent::Command::tick ( double  dt  )  [pure virtual]

Implemented in FastEcslent::Gather, FastEcslent::BuildCommand, FastEcslent::GasFieldCommand, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, and FastEcslent::Flock.

virtual void FastEcslent::Command::postProcess (  )  [pure virtual]

Implemented in FastEcslent::Gather, FastEcslent::BuildCommand, FastEcslent::GasFieldCommand, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::PotentialMove, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::PotentialMove, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::PotentialMove, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::PotentialMove, and FastEcslent::Flock.

virtual bool FastEcslent::Command::done (  )  [pure virtual]

Implemented in FastEcslent::Gather, FastEcslent::BuildCommand, FastEcslent::GasFieldCommand, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, and FastEcslent::Flock.

virtual void FastEcslent::Command::init (  )  [pure virtual]

Implemented in FastEcslent::Gather, FastEcslent::BuildCommand, FastEcslent::GasFieldCommand, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, and FastEcslent::Flock.

virtual void FastEcslent::Command::tick ( double  dt  )  [pure virtual]

Implemented in FastEcslent::Gather, FastEcslent::BuildCommand, FastEcslent::GasFieldCommand, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, and FastEcslent::Flock.

virtual void FastEcslent::Command::postProcess (  )  [pure virtual]

Implemented in FastEcslent::Gather, FastEcslent::BuildCommand, FastEcslent::GasFieldCommand, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::PotentialMove, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::PotentialMove, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::PotentialMove, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::PotentialMove, and FastEcslent::Flock.

virtual bool FastEcslent::Command::done (  )  [pure virtual]

Implemented in FastEcslent::Gather, FastEcslent::BuildCommand, FastEcslent::GasFieldCommand, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, and FastEcslent::Flock.

virtual void FastEcslent::Command::init (  )  [pure virtual]

Implemented in FastEcslent::Gather, FastEcslent::BuildCommand, FastEcslent::GasFieldCommand, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, and FastEcslent::Flock.

virtual void FastEcslent::Command::tick ( double  dt  )  [pure virtual]

Implemented in FastEcslent::Gather, FastEcslent::BuildCommand, FastEcslent::GasFieldCommand, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Maintain, and FastEcslent::Flock.

virtual void FastEcslent::Command::postProcess (  )  [pure virtual]

Implemented in FastEcslent::Gather, FastEcslent::BuildCommand, FastEcslent::GasFieldCommand, FastEcslent::Move, FastEcslent::Wait, FastEcslent::PotentialMove, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::PotentialMove, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::PotentialMove, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::PotentialMove, FastEcslent::Flock, FastEcslent::Gather, FastEcslent::Move, FastEcslent::PotentialMove, and FastEcslent::Flock.


Member Data Documentation

CommandType FastEcslent::Command::commandType

The type of the command

Definition at line 45 of file command.h.

Referenced by Command().

Entity* FastEcslent::Command::entity

Reimplemented in FastEcslent::UnitCommand, FastEcslent::UnitCommand, FastEcslent::UnitCommand, and FastEcslent::UnitCommand.

Definition at line 46 of file command.h.

Referenced by FastEcslent::BuildCommand::init(), and FastEcslent::GasFieldCommand::tick().


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