net.ctdp.rfdynhud.gamedata
Class LiveGameDataController

java.lang.Object
  extended by net.ctdp.rfdynhud.gamedata.LiveGameDataController

public class LiveGameDataController
extends java.lang.Object

Controls values in LiveGameData.

Currently it only controls the currently viewed vehicle and engine RPM, boost and gear.

Author:
Marvin Froehlich (CTDP)

Constructor Summary
LiveGameDataController()
           
 
Method Summary
 int getViewedVSIId()
           
 void setCurrentGear(VehicleScoringInfo vsi, int gear)
           
 void setEngineBoostMapping(VehicleScoringInfo vsi, int engineBoostMapping)
           
 void setEngineRPM(VehicleScoringInfo vsi, float engineRPM, float engineMaxRPM)
           
 void setViewedVSI(int vsiId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiveGameDataController

public LiveGameDataController()
Method Detail

setViewedVSI

public void setViewedVSI(int vsiId)

getViewedVSIId

public final int getViewedVSIId()

setEngineRPM

public void setEngineRPM(VehicleScoringInfo vsi,
                         float engineRPM,
                         float engineMaxRPM)

setEngineBoostMapping

public void setEngineBoostMapping(VehicleScoringInfo vsi,
                                  int engineBoostMapping)

setCurrentGear

public void setCurrentGear(VehicleScoringInfo vsi,
                           int gear)