FastEcslent::Physics2D1 Class Reference

#include <physics.h>

Inheritance diagram for FastEcslent::Physics2D1:

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

 Physics2D1 (Entity *ent, UnitAspectType at)
virtual void init ()
virtual void tick (double dt)
 Physics2D1 (Entity *ent, UnitAspectType at)
virtual void init ()
virtual void tick (double dt)
 Physics2D1 (Entity *ent, UnitAspectType at)
virtual void init ()
virtual void tick (double dt)
 Physics2D1 (Entity *ent, UnitAspectType at)
virtual void init ()
virtual void tick (double dt)
 Physics2D1 (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 36 of file physics.h.


Constructor & Destructor Documentation

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

Definition at line 42 of file physics.h.

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

Definition at line 42 of file physics.h.

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

Definition at line 42 of file physics.h.

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

Definition at line 42 of file physics.h.

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

Definition at line 42 of file physics.h.


Member Function Documentation

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

Reimplemented from FastEcslent::Physics.

Definition at line 21 of file physics1.cpp.

References FastEcslent::Physics::angleDiff, clamp(), FastEcslent::Physics::cosYaw, DEBUG, FastEcslent::Entity::desiredHeading, FastEcslent::Entity::desiredSpeed, FastEcslent::Physics::dHeading, differenceBetweenAngles(), FastEcslent::UnitAspect::entity, FastEcslent::Entity::heading, FastEcslent::kInvalidFloat, FastEcslent::Entity::maxAcceleration, FastEcslent::Entity::maxRotationalSpeed, FastEcslent::Entity::pos, FastEcslent::Physics::sinYaw, FastEcslent::Entity::speed, FastEcslent::Physics::timeScaledAcceleration, FastEcslent::Physics::timeScaledRotationalSpeed, and FastEcslent::Entity::vel.

Referenced by tick().

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

Reimplemented from FastEcslent::Physics.

Definition at line 16 of file physics1.cpp.

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

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

Reimplemented from FastEcslent::Physics.

Definition at line 46 of file physics1.cpp.

References doHelmsman().

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

Reimplemented from FastEcslent::Physics.

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

Reimplemented from FastEcslent::Physics.

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

Reimplemented from FastEcslent::Physics.

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

Reimplemented from FastEcslent::Physics.

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

Reimplemented from FastEcslent::Physics.

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

Reimplemented from FastEcslent::Physics.

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

Reimplemented from FastEcslent::Physics.

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

Reimplemented from FastEcslent::Physics.

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

Reimplemented from FastEcslent::Physics.

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

Reimplemented from FastEcslent::Physics.

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

Reimplemented from FastEcslent::Physics.

virtual void FastEcslent::Physics2D1::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