Package zombie.vehicles
Class VehicleType
java.lang.Object
zombie.vehicles.VehicleType
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatintfloatstatic VehicleTypegetRandomVehicleType(String string) static VehicleTypegetRandomVehicleType(String string, Boolean Boolean1) static VehicleTypegetTypeFromName(String string) static booleanhasTypeForZone(String string) static voidinit()static voidReset()voidsetChanceToSpawnKey(int int1)
-
Field Details
-
vehiclesDefinition
-
chanceToSpawnNormal
public int chanceToSpawnNormal -
chanceToSpawnBurnt
public int chanceToSpawnBurnt -
spawnRate
public int spawnRate -
chanceOfOverCar
public int chanceOfOverCar -
randomAngle
public boolean randomAngle -
baseVehicleQuality
public float baseVehicleQuality -
name
-
chanceToPartDamage
public int chanceToPartDamage -
isSpecialCar
public boolean isSpecialCar -
isBurntCar
public boolean isBurntCar -
chanceToSpawnSpecial
public int chanceToSpawnSpecial -
vehicles
-
specialVehicles
-
-
Constructor Details
-
VehicleType
-
-
Method Details
-
init
public static void init() -
hasTypeForZone
-
getRandomVehicleType
-
getRandomVehicleType
-
getTypeFromName
-
getBaseVehicleQuality
public float getBaseVehicleQuality() -
getRandomBaseVehicleQuality
public float getRandomBaseVehicleQuality() -
getChanceToSpawnKey
public int getChanceToSpawnKey() -
setChanceToSpawnKey
public void setChanceToSpawnKey(int int1) -
Reset
public static void Reset()
-