VehicleSetup.Engine

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.ctdp.rfdynhud.gamedata
Class VehicleSetup.Engine

    java.lang.Object
      net.ctdp.rfdynhud.gamedata.VehicleSetup.Engine

Enclosing class:
  VehicleSetup

    public static class VehicleSetup.Engine

extends java.lang.Object

Model of the engine part of the setup

Author:
  Marvin Froehlich

Constructor Summary
`VehicleSetup.Engine()`

Method Summary
`int` | `getBoostMapping()` ENGINE::EngineBoostSetting=4//5
`float` | `getRevLimit()` ENGINE::RevLimitSetting=0//20,000
`int` | `getRevLimitSetting()` Gets the rev limit setting.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### VehicleSetup.Engine

    public VehicleSetup.Engine()

Method Detail

### getRevLimitSetting

    public final int getRevLimitSetting()

  Gets the rev limit setting.

  Returns:
    the rev limit setting.
  See Also:
    `VehiclePhysics.Engine.getRevLimitRange()`

### getRevLimit

    public final float getRevLimit()

  ENGINE::RevLimitSetting=0//20,000

  Returns:
    the absolute rev limit.

### getBoostMapping

    public final int getBoostMapping()

  ENGINE::EngineBoostSetting=4//5

  Returns:
    the engine boost mapping. See `VehiclePhysics.Engine.getBoostRange()` for the range.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD