|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ctdp.rfdynhud.gamedata.TrackInfo
public abstract class TrackInfo
Model of the currently used track
Field Summary | |
---|---|
protected java.io.File |
trackFolder
|
Constructor Summary | |
---|---|
protected |
TrackInfo(ProfileInfo profileInfo)
Create a new instance. |
Method Summary | |
---|---|
abstract java.io.File |
getAIWFile()
Finds the AIW file for the given track. |
abstract int |
getRaceLaps()
Gets last read track race laps. |
java.io.File |
getSceneFile()
Gets the track's scene file. |
abstract Track |
getTrack()
Gets the track abstraction (waypoints) of the current track. |
java.io.File |
getTrackFolder()
Gets the track's folder. |
abstract java.lang.String |
getTrackName()
Gets the track's name. |
protected void |
reset()
|
protected abstract void |
updateImpl(java.io.File sceneFile)
Finds the folder from the GameData\Locations folder, in which a .gdb file exists, that contains a line TrackName = trackname WARNING: This operation may take a long time. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.io.File trackFolder
Constructor Detail |
---|
protected TrackInfo(ProfileInfo profileInfo)
profileInfo
- Method Detail |
---|
protected void reset()
protected abstract void updateImpl(java.io.File sceneFile)
Finds the folder from the GameData\Locations folder, in which a .gdb file
exists, that contains a line
TrackName = trackname
sceneFile
- public final java.io.File getTrackFolder()
public final java.io.File getSceneFile()
public abstract java.lang.String getTrackName()
public abstract int getRaceLaps()
public abstract java.io.File getAIWFile()
Finds the AIW file for the given track.
WARNING:
public abstract Track getTrack()
Gets the track abstraction (waypoints) of the current track.
WARNING:
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |