FastEcslent::Maintain Class Reference

#include <command.h>

Inheritance diagram for FastEcslent::Maintain:

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

 Maintain (Entity *ent, Target *tgt)
virtual bool done ()
virtual void init ()
virtual void tick (double dt)
virtual Commandclone ()
 Maintain (Entity *ent, Target *tgt)
virtual bool done ()
virtual void init ()
virtual void tick (double dt)
 Maintain (Entity *ent, Target *tgt)
virtual bool done ()
virtual void init ()
virtual void tick (double dt)
 Maintain (Entity *ent, Target *tgt)
virtual bool done ()
virtual void init ()
virtual void tick (double dt)
 Maintain (Entity *ent, Target *tgt)
virtual bool done ()
virtual void init ()
virtual void tick (double dt)

Private Member Functions

bool valid (Entity *ent)
bool valid (Entity *ent)
bool valid (Entity *ent)
bool valid (Entity *ent)
bool valid (Entity *ent)


Detailed Description

Definition at line 218 of file command.h.


Constructor & Destructor Documentation

FastEcslent::Maintain::Maintain ( Entity ent,
Target tgt 
)

Definition at line 194 of file command.cpp.

References DEBUG, FastEcslent::Target::entity, FastEcslent::Target::location, FastEcslent::Target::offset, FastEcslent::Entity::pos, FastEcslent::Entity::uiname, and valid().

FastEcslent::Maintain::Maintain ( Entity ent,
Target tgt 
)

FastEcslent::Maintain::Maintain ( Entity ent,
Target tgt 
)

FastEcslent::Maintain::Maintain ( Entity ent,
Target tgt 
)

FastEcslent::Maintain::Maintain ( Entity ent,
Target tgt 
)


Member Function Documentation

bool FastEcslent::Maintain::valid ( Entity ent  )  [private]

Definition at line 200 of file command.cpp.

Referenced by Maintain().

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

Implements FastEcslent::Command.

Definition at line 204 of file command.cpp.

void FastEcslent::Maintain::init (  )  [virtual]

Implements FastEcslent::Command.

Definition at line 208 of file command.cpp.

References DEBUG, FastEcslent::Target::entity, FastEcslent::Entity::heading, FastEcslent::kInvalidFloat, FastEcslent::Target::offset, FastEcslent::Target::offsetDistance, FastEcslent::Target::offsetYaw, FastEcslent::Entity::pos, and FastEcslent::UnitCommand::target.

void FastEcslent::Maintain::tick ( double  dt  )  [inline, virtual]

Implements FastEcslent::Command.

Definition at line 219 of file command.cpp.

References FastEcslent::Entity::desiredHeading, FastEcslent::Entity::desiredSpeed, FastEcslent::UnitCommand::entity, FastEcslent::Target::entity, FastEcslent::UnitCommand::interceptPos, FastEcslent::Target::location, FastEcslent::Entity::maxSpeed, FastEcslent::Target::offset, FastEcslent::Target::offsetDistance, FastEcslent::Target::offsetYaw, FastEcslent::Entity::pos, FastEcslent::UnitCommand::predictedPos, FastEcslent::UnitCommand::predictedTimeToClose, FastEcslent::UnitCommand::relativePos, FastEcslent::UnitCommand::relativeSpeed, FastEcslent::UnitCommand::relativeVel, FastEcslent::Entity::rot, FastEcslent::Entity::speed, FastEcslent::UnitCommand::target, and FastEcslent::Entity::vel.

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

Reimplemented from FastEcslent::Command.

Definition at line 227 of file command.h.

bool FastEcslent::Maintain::valid ( Entity ent  )  [private]

virtual bool FastEcslent::Maintain::done (  )  [virtual]

Implements FastEcslent::Command.

virtual void FastEcslent::Maintain::init (  )  [virtual]

Implements FastEcslent::Command.

virtual void FastEcslent::Maintain::tick ( double  dt  )  [virtual]

Implements FastEcslent::Command.

bool FastEcslent::Maintain::valid ( Entity ent  )  [private]

virtual bool FastEcslent::Maintain::done (  )  [virtual]

Implements FastEcslent::Command.

virtual void FastEcslent::Maintain::init (  )  [virtual]

Implements FastEcslent::Command.

virtual void FastEcslent::Maintain::tick ( double  dt  )  [virtual]

Implements FastEcslent::Command.

bool FastEcslent::Maintain::valid ( Entity ent  )  [private]

virtual bool FastEcslent::Maintain::done (  )  [virtual]

Implements FastEcslent::Command.

virtual void FastEcslent::Maintain::init (  )  [virtual]

Implements FastEcslent::Command.

virtual void FastEcslent::Maintain::tick ( double  dt  )  [virtual]

Implements FastEcslent::Command.

bool FastEcslent::Maintain::valid ( Entity ent  )  [private]

virtual bool FastEcslent::Maintain::done (  )  [virtual]

Implements FastEcslent::Command.

virtual void FastEcslent::Maintain::init (  )  [virtual]

Implements FastEcslent::Command.

virtual void FastEcslent::Maintain::tick ( double  dt  )  [virtual]

Implements FastEcslent::Command.


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