|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ctdp.rfdynhud.gamedata.ModInfo
public abstract class ModInfo
Model of mod information
Field Summary | |
---|---|
protected int |
maxOpponents
|
protected float |
raceDuration
|
protected java.io.File |
rfmFile
|
protected java.lang.String[] |
vehicleFilter
|
protected java.io.File |
vehiclesDir
|
Constructor Summary | |
---|---|
protected |
ModInfo(ProfileInfo profileInfo)
Creates a new ModInfo instance. |
Method Summary | |
---|---|
static java.lang.String[] |
getInstalledModNames(GameFileSystem fileSystem)
Gets the RFM filenames of all installed mods. |
int |
getMaxOpponents()
Gets the 'max opponents' setting from the mod's RFM. |
java.lang.String |
getName()
Gets the current mod's name. |
float |
getRaceDuration()
Gets the race duration in seconds. |
java.io.File |
getRFMFile()
Gets the mod's RFM file. |
java.lang.String[] |
getVehicleFilter()
Gets the vehicle filter. |
abstract VehicleInfo |
getVehicleInfoForDriver(VehicleScoringInfo vsi)
Gets the VehicleInfo corresponding to the given driver. |
java.io.File |
getVehiclesFolder()
Gets the folder, where to search for .VEH files. |
protected void |
update()
|
protected abstract void |
updateImpl()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.io.File rfmFile
protected java.io.File vehiclesDir
protected java.lang.String[] vehicleFilter
protected int maxOpponents
protected float raceDuration
Constructor Detail |
---|
protected ModInfo(ProfileInfo profileInfo)
profileInfo
- Method Detail |
---|
protected abstract void updateImpl()
protected final void update()
public final java.lang.String getName()
public final java.io.File getRFMFile()
public final java.lang.String[] getVehicleFilter()
public final java.io.File getVehiclesFolder()
public abstract VehicleInfo getVehicleInfoForDriver(VehicleScoringInfo vsi)
vsi
-
public final int getMaxOpponents()
public final float getRaceDuration()
public static java.lang.String[] getInstalledModNames(GameFileSystem fileSystem)
fileSystem
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |