Cyclone Cyclone: cyclone::ForceGenerator Class Reference

cyclone::ForceGenerator Class Reference

A force generator can be asked to add a force to one or more bodies. More...

#include <fgen.h>

Inheritance diagram for cyclone::ForceGenerator:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual void updateForce (RigidBody *body, real duration)=0
 Overload this in implementations of the interface to calculate and update the force applied to the given rigid body.

Detailed Description

A force generator can be asked to add a force to one or more bodies.


Member Function Documentation

virtual void cyclone::ForceGenerator::updateForce RigidBody body,
real  duration
[pure virtual]
 

Overload this in implementations of the interface to calculate and update the force applied to the given rigid body.

Implemented in cyclone::Gravity, cyclone::Spring, cyclone::Explosion, cyclone::Aero, cyclone::AeroControl, cyclone::AngledAero, and cyclone::Buoyancy.


The documentation for this class was generated from the following file: