#include <command.h>
Public Member Functions | |
Move (Entity *ent, Target *tgt) | |
virtual bool | done () |
virtual void | init () |
virtual void | tick (double dt) |
virtual void | postProcess () |
virtual Command * | clone () |
Move (Entity *ent, Target *tgt) | |
virtual bool | done () |
virtual void | init () |
virtual void | tick (double dt) |
virtual void | postProcess () |
Move (Entity *ent, Target *tgt) | |
virtual bool | done () |
virtual void | init () |
virtual void | tick (double dt) |
virtual void | postProcess () |
Move (Entity *ent, Target *tgt) | |
virtual bool | done () |
virtual void | init () |
virtual void | tick (double dt) |
virtual void | postProcess () |
Move (Entity *ent, Target *tgt) | |
virtual bool | done () |
virtual void | init () |
virtual void | tick (double dt) |
virtual void | postProcess () |
Private Member Functions | |
bool | valid (Ogre::Vector3 pos) |
bool | valid (Ogre::Vector3 pos) |
bool | valid (Ogre::Vector3 pos) |
bool | valid (Ogre::Vector3 pos) |
bool | valid (Ogre::Vector3 pos) |
Definition at line 149 of file command.h.
Definition at line 156 of file command.h.
References DEBUG, FastEcslent::Target::location, and valid().
Definition at line 102 of file command.h.
References DEBUG, FastEcslent::Target::location, and valid().
Definition at line 102 of file command.h.
References DEBUG, FastEcslent::Target::location, and valid().
Definition at line 102 of file command.h.
References DEBUG, FastEcslent::Target::location, and valid().
Definition at line 102 of file command.h.
References DEBUG, FastEcslent::Target::location, and valid().
bool FastEcslent::Move::valid | ( | Ogre::Vector3 | pos | ) | [inline, private] |
bool FastEcslent::Move::done | ( | ) | [inline, virtual] |
Implements FastEcslent::Command.
Definition at line 19 of file command.cpp.
References FastEcslent::UnitCommand::entity, FastEcslent::Target::location, FastEcslent::Entity::pos, FastEcslent::UnitCommand::target, and FastEcslent::Entity::turningRadius.
Referenced by tick().
void FastEcslent::Move::init | ( | ) | [virtual] |
Implements FastEcslent::Command.
Definition at line 23 of file command.cpp.
References FastEcslent::Entity::desiredHeading, FastEcslent::Entity::desiredSpeed, FastEcslent::UnitCommand::entity, FastEcslent::Target::location, FastEcslent::Entity::maxSpeed, FastEcslent::Entity::pos, and FastEcslent::UnitCommand::target.
Referenced by createMoveForEnt(), and FastEcslent::createMoveForEnt().
void FastEcslent::Move::tick | ( | double | dt | ) | [inline, virtual] |
Implements FastEcslent::Command.
Definition at line 30 of file command.cpp.
References FastEcslent::Entity::desiredHeading, FastEcslent::Entity::desiredSpeed, done(), FastEcslent::UnitCommand::entity, FastEcslent::Target::location, FastEcslent::Entity::maxSpeed, FastEcslent::Entity::pos, FastEcslent::UnitCommand::relativePos, and FastEcslent::UnitCommand::target.
virtual void FastEcslent::Move::postProcess | ( | ) | [inline, virtual] |
virtual Command* FastEcslent::Move::clone | ( | ) | [inline, virtual] |
bool FastEcslent::Move::valid | ( | Ogre::Vector3 | pos | ) | [inline, private] |
virtual bool FastEcslent::Move::done | ( | ) | [virtual] |
Implements FastEcslent::Command.
virtual void FastEcslent::Move::init | ( | ) | [virtual] |
Implements FastEcslent::Command.
virtual void FastEcslent::Move::tick | ( | double | dt | ) | [virtual] |
Implements FastEcslent::Command.
virtual void FastEcslent::Move::postProcess | ( | ) | [inline, virtual] |
bool FastEcslent::Move::valid | ( | Ogre::Vector3 | pos | ) | [inline, private] |
virtual bool FastEcslent::Move::done | ( | ) | [virtual] |
Implements FastEcslent::Command.
virtual void FastEcslent::Move::init | ( | ) | [virtual] |
Implements FastEcslent::Command.
virtual void FastEcslent::Move::tick | ( | double | dt | ) | [virtual] |
Implements FastEcslent::Command.
virtual void FastEcslent::Move::postProcess | ( | ) | [inline, virtual] |
bool FastEcslent::Move::valid | ( | Ogre::Vector3 | pos | ) | [inline, private] |
virtual bool FastEcslent::Move::done | ( | ) | [virtual] |
Implements FastEcslent::Command.
virtual void FastEcslent::Move::init | ( | ) | [virtual] |
Implements FastEcslent::Command.
virtual void FastEcslent::Move::tick | ( | double | dt | ) | [virtual] |
Implements FastEcslent::Command.
virtual void FastEcslent::Move::postProcess | ( | ) | [inline, virtual] |
bool FastEcslent::Move::valid | ( | Ogre::Vector3 | pos | ) | [inline, private] |
virtual bool FastEcslent::Move::done | ( | ) | [virtual] |
Implements FastEcslent::Command.
virtual void FastEcslent::Move::init | ( | ) | [virtual] |
Implements FastEcslent::Command.
virtual void FastEcslent::Move::tick | ( | double | dt | ) | [virtual] |
Implements FastEcslent::Command.
virtual void FastEcslent::Move::postProcess | ( | ) | [inline, virtual] |