#include <command.h>
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 Command * | clone () |
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 |
Entity * | entity |
Definition at line 43 of file command.h.
FastEcslent::Command::Command | ( | CommandType | ct, | |
Entity * | entity = NULL | |||
) | [inline] |
FastEcslent::Command::Command | ( | CommandType | ct | ) | [inline] |
FastEcslent::Command::Command | ( | CommandType | ct | ) | [inline] |
FastEcslent::Command::Command | ( | CommandType | ct | ) | [inline] |
FastEcslent::Command::Command | ( | CommandType | ct | ) | [inline] |
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] |
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.
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().