FastEcslent::Move Class Reference

#include <command.h>

Inheritance diagram for FastEcslent::Move:

FastEcslent::UnitCommand FastEcslent::UnitCommand FastEcslent::UnitCommand FastEcslent::UnitCommand FastEcslent::UnitCommand FastEcslent::Command FastEcslent::Command FastEcslent::Command FastEcslent::Command FastEcslent::Command FastEcslent::Command FastEcslent::Command FastEcslent::Command FastEcslent::Command FastEcslent::Command FastEcslent::Command FastEcslent::Command FastEcslent::Command FastEcslent::Command FastEcslent::Command FastEcslent::Command FastEcslent::Command FastEcslent::Command FastEcslent::Command FastEcslent::Command FastEcslent::Command FastEcslent::Command FastEcslent::Command FastEcslent::Command FastEcslent::Command

List of all members.

Public Member Functions

 Move (Entity *ent, Target *tgt)
virtual bool done ()
virtual void init ()
virtual void tick (double dt)
virtual void postProcess ()
virtual Commandclone ()
 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)


Detailed Description

Definition at line 149 of file command.h.


Constructor & Destructor Documentation

FastEcslent::Move::Move ( Entity ent,
Target tgt 
) [inline]

Definition at line 156 of file command.h.

References DEBUG, FastEcslent::Target::location, and valid().

FastEcslent::Move::Move ( Entity ent,
Target tgt 
) [inline]

Definition at line 102 of file command.h.

References DEBUG, FastEcslent::Target::location, and valid().

FastEcslent::Move::Move ( Entity ent,
Target tgt 
) [inline]

Definition at line 102 of file command.h.

References DEBUG, FastEcslent::Target::location, and valid().

FastEcslent::Move::Move ( Entity ent,
Target tgt 
) [inline]

Definition at line 102 of file command.h.

References DEBUG, FastEcslent::Target::location, and valid().

FastEcslent::Move::Move ( Entity ent,
Target tgt 
) [inline]

Definition at line 102 of file command.h.

References DEBUG, FastEcslent::Target::location, and valid().


Member Function Documentation

bool FastEcslent::Move::valid ( Ogre::Vector3  pos  )  [inline, private]

Definition at line 151 of file command.h.

Referenced by Move().

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]

Implements FastEcslent::Command.

Definition at line 164 of file command.h.

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

Reimplemented from FastEcslent::Command.

Definition at line 165 of file command.h.

bool FastEcslent::Move::valid ( Ogre::Vector3  pos  )  [inline, private]

Definition at line 97 of file command.h.

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]

Implements FastEcslent::Command.

Definition at line 110 of file command.h.

bool FastEcslent::Move::valid ( Ogre::Vector3  pos  )  [inline, private]

Definition at line 97 of file command.h.

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]

Implements FastEcslent::Command.

Definition at line 110 of file command.h.

bool FastEcslent::Move::valid ( Ogre::Vector3  pos  )  [inline, private]

Definition at line 97 of file command.h.

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]

Implements FastEcslent::Command.

Definition at line 110 of file command.h.

bool FastEcslent::Move::valid ( Ogre::Vector3  pos  )  [inline, private]

Definition at line 97 of file command.h.

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]

Implements FastEcslent::Command.

Definition at line 110 of file command.h.


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