Engine::Physics::TickObserver Class Reference

Abstract base class for anything that needs to be notifed when the physics engine ticks. More...

#include <TickObserver.h>

Inheritance diagram for Engine::Physics::TickObserver:

Engine::CarCamera Engine::GameObjects::Car Engine::ReplayReader List of all members.

Public Member Functions

virtual void posttick ()=0
 evaluate forces, state, etc.
virtual void set_forces ()
 use bullet's applyForces function on some objects

Detailed Description

Abstract base class for anything that needs to be notifed when the physics engine ticks.

Generally used for physics objects that react to things and apply forces. Can also be used for various triggers.

Definition at line 26 of file TickObserver.h.


Member Function Documentation

virtual void Engine::Physics::TickObserver::posttick (  )  [pure virtual]

evaluate forces, state, etc.

Implemented in Engine::CarCamera, Engine::GameObjects::Car, and Engine::ReplayReader.

virtual void Engine::Physics::TickObserver::set_forces (  )  [inline, virtual]

use bullet's applyForces function on some objects

Reimplemented in Engine::CarCamera, and Engine::GameObjects::Car.

Definition at line 32 of file TickObserver.h.


The documentation for this class was generated from the following file:
Get Racer at SourceForge.net. Fast, secure and Free Open Source software downloads

Generated at Mon Sep 6 00:41:17 2010 by Doxygen version 1.4.7 for Racer version svn335.