|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ctdp.rfdynhud.util.StandingsTools
public class StandingsTools
Constructor Summary | |
---|---|
StandingsTools()
|
Method Summary | |
---|---|
static void |
computeRaceGapsRelativeToPosition(ScoringInfo scoringInfo,
VehicleScoringInfo viewedVSI,
float[] relTimes)
Computes gaps for all drivers to the player. |
static int |
getDisplayedVSIsForScoring(ScoringInfo scoringInfo,
VehicleScoringInfo viewedVSI,
boolean useClassScoring,
StandingsView standingsView,
boolean forceLeaderDisplayed,
VehicleScoringInfo[] target)
Fills the target array with VehicleScoringInfo s for all visible drivers. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StandingsTools()
Method Detail |
---|
public static int getDisplayedVSIsForScoring(ScoringInfo scoringInfo, VehicleScoringInfo viewedVSI, boolean useClassScoring, StandingsView standingsView, boolean forceLeaderDisplayed, VehicleScoringInfo[] target)
VehicleScoringInfo
s for all visible drivers.
scoringInfo
- the scoring infoviewedVSI
- the currently viewed vehicleuseClassScoring
- use class relative scoring?standingsView
- the standings viewforceLeaderDisplayed
- force leader displayed, even if far away?target
- the target array
public static void computeRaceGapsRelativeToPosition(ScoringInfo scoringInfo, VehicleScoringInfo viewedVSI, float[] relTimes)
scoringInfo
- the scoring infoviewedVSI
- the currently viewed vehiclerelTimes
- target array
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |