net.ctdp.rfdynhud.gamedata
Class VehicleSetup.Controls

java.lang.Object
  extended by net.ctdp.rfdynhud.gamedata.VehicleSetup.Controls
Enclosing class:
VehicleSetup

public static class VehicleSetup.Controls
extends java.lang.Object

Model of the controls part of the setup

Author:
Marvin Froehlich

Constructor Summary
VehicleSetup.Controls()
           
 
Method Summary
 float getBrakePressure()
          CONTROLS::BrakePressureSetting=40//100%
 float getRearBrakeBalance()
          CONTROLS::RearBrakeSetting=85//55.0:45.0
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleSetup.Controls

public VehicleSetup.Controls()
Method Detail

getRearBrakeBalance

public final float getRearBrakeBalance()
CONTROLS::RearBrakeSetting=85//55.0:45.0

Returns:
the fraction of brake power weighted to the front.

getBrakePressure

public final float getBrakePressure()
CONTROLS::BrakePressureSetting=40//100%

Returns:
the fraction of brake pressure.
See Also:
VehiclePhysics.Brakes.getPressureRange()