FastEcslent::Physics2D2 Class Reference

#include <physics.h>

Inheritance diagram for FastEcslent::Physics2D2:

FastEcslent::Physics FastEcslent::Physics FastEcslent::Physics FastEcslent::Physics FastEcslent::Physics FastEcslent::UnitAspect FastEcslent::UnitAspect FastEcslent::UnitAspect FastEcslent::UnitAspect FastEcslent::UnitAspect FastEcslent::UnitAspect FastEcslent::UnitAspect FastEcslent::UnitAspect FastEcslent::UnitAspect FastEcslent::UnitAspect FastEcslent::UnitAspect FastEcslent::UnitAspect FastEcslent::UnitAspect FastEcslent::UnitAspect FastEcslent::UnitAspect FastEcslent::UnitAspect FastEcslent::UnitAspect FastEcslent::UnitAspect FastEcslent::UnitAspect FastEcslent::UnitAspect FastEcslent::UnitAspect FastEcslent::UnitAspect FastEcslent::UnitAspect FastEcslent::UnitAspect FastEcslent::UnitAspect

List of all members.

Public Member Functions

 Physics2D2 (Entity *ent, UnitAspectType at)
virtual void init ()
virtual void tick (double dt)
 Physics2D2 (Entity *ent, UnitAspectType at)
virtual void init ()
virtual void tick (double dt)
 Physics2D2 (Entity *ent, UnitAspectType at)
virtual void init ()
virtual void tick (double dt)
 Physics2D2 (Entity *ent, UnitAspectType at)
virtual void init ()
virtual void tick (double dt)
 Physics2D2 (Entity *ent, UnitAspectType at)
virtual void init ()
virtual void tick (double dt)

Private Member Functions

void doHelmsman (double dt)
void doHelmsman (double dt)
void doHelmsman (double dt)
void doHelmsman (double dt)
void doHelmsman (double dt)


Detailed Description

Definition at line 48 of file physics.h.


Constructor & Destructor Documentation

FastEcslent::Physics2D2::Physics2D2 ( Entity ent,
UnitAspectType  at 
) [inline]

Definition at line 54 of file physics.h.

FastEcslent::Physics2D2::Physics2D2 ( Entity ent,
UnitAspectType  at 
) [inline]

Definition at line 54 of file physics.h.

FastEcslent::Physics2D2::Physics2D2 ( Entity ent,
UnitAspectType  at 
) [inline]

Definition at line 54 of file physics.h.

FastEcslent::Physics2D2::Physics2D2 ( Entity ent,
UnitAspectType  at 
) [inline]

Definition at line 54 of file physics.h.

FastEcslent::Physics2D2::Physics2D2 ( Entity ent,
UnitAspectType  at 
) [inline]

Definition at line 54 of file physics.h.


Member Function Documentation

void FastEcslent::Physics2D2::doHelmsman ( double  dt  )  [private]

Reimplemented from FastEcslent::Physics.

Definition at line 29 of file physics2.cpp.

References clamp(), DEBUG, FastEcslent::Entity::desiredHeading, FastEcslent::Entity::desiredSpeed, FastEcslent::UnitAspect::entity, FastEcslent::Entity::heading, FastEcslent::kInvalidFloat, FastEcslent::Entity::maxAcceleration, FastEcslent::Entity::maxRotationalSpeed, FastEcslent::Entity::maxSpeed, FastEcslent::Entity::minSpeed, FastEcslent::Entity::pos, FastEcslent::Entity::rot, FastEcslent::Entity::speed, FastEcslent::Entity::vel, and FastEcslent::Entity::yaw.

Referenced by tick().

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

Reimplemented from FastEcslent::Physics.

Definition at line 19 of file physics2.cpp.

References FastEcslent::Entity::desiredHeading, FastEcslent::Entity::desiredSpeed, FastEcslent::UnitAspect::entity, FastEcslent::Entity::heading, and FastEcslent::Entity::speed.

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

Reimplemented from FastEcslent::Physics.

Definition at line 63 of file physics2.cpp.

References doHelmsman().

void FastEcslent::Physics2D2::doHelmsman ( double  dt  )  [private]

Reimplemented from FastEcslent::Physics.

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

Reimplemented from FastEcslent::Physics.

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

Reimplemented from FastEcslent::Physics.

void FastEcslent::Physics2D2::doHelmsman ( double  dt  )  [private]

Reimplemented from FastEcslent::Physics.

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

Reimplemented from FastEcslent::Physics.

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

Reimplemented from FastEcslent::Physics.

void FastEcslent::Physics2D2::doHelmsman ( double  dt  )  [private]

Reimplemented from FastEcslent::Physics.

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

Reimplemented from FastEcslent::Physics.

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

Reimplemented from FastEcslent::Physics.

void FastEcslent::Physics2D2::doHelmsman ( double  dt  )  [private]

Reimplemented from FastEcslent::Physics.

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

Reimplemented from FastEcslent::Physics.

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

Reimplemented from FastEcslent::Physics.


The documentation for this class was generated from the following files:
Generated on Fri Dec 13 14:54:21 2013 for FastECSLent by  doxygen 1.5.4