Public Member Functions | Private Attributes

physics::PhysicsControl Class Reference

Main Physics object. More...

#include <_src_physics_physics_control.hh>

List of all members.

Public Member Functions

CLASS_METHOD bool Enable (const bool enable)
CLASS_METHOD void PermanentlyDisable (void)
CLASS_METHOD bool IfEnabled (void)
CLASS_METHOD void EnableStall (const bool enabled)
CLASS_METHOD bool IfStallEnabled (void)
CLASS_METHOD fp GetSimulationSpeed (void)
 Get "simulation speed". Used to scale translation steps computed by physics.
CLASS_METHOD void SetSimulationSpeed (const fp simulationSpeed)

Private Attributes

CLASS_VAR bool msEnabled
CLASS_VAR bool msPermanentlyDisabled
 set by -no-physics
CLASS_VAR bool msStallEnabled
CLASS_VAR fp msSimulationSpeed
 for fast-motion

Detailed Description

Main Physics object.

This class is a master switch.


Member Function Documentation

CLASS_METHOD bool physics::PhysicsControl::Enable ( const bool  enable  )  [inline]
CLASS_METHOD void physics::PhysicsControl::EnableStall ( const bool  enabled  )  [inline]
CLASS_METHOD fp physics::PhysicsControl::GetSimulationSpeed ( void   )  [inline]

Get "simulation speed". Used to scale translation steps computed by physics.

CLASS_METHOD bool physics::PhysicsControl::IfEnabled ( void   )  [inline]
CLASS_METHOD bool physics::PhysicsControl::IfStallEnabled ( void   )  [inline]
CLASS_METHOD void physics::PhysicsControl::PermanentlyDisable ( void   )  [inline]
CLASS_METHOD void physics::PhysicsControl::SetSimulationSpeed ( const fp  simulationSpeed  )  [inline]

Member Data Documentation

CLASS_VAR bool physics::PhysicsControl::msEnabled [private]

set by -no-physics

for fast-motion

CLASS_VAR bool physics::PhysicsControl::msStallEnabled [private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:12