Package zombie.vehicles
Class VehicleType
java.lang.Object
zombie.vehicles.VehicleType
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
int
float
static VehicleType
getRandomVehicleType
(String string) static VehicleType
getRandomVehicleType
(String string, Boolean Boolean1) static VehicleType
getTypeFromName
(String string) static boolean
hasTypeForZone
(String string) static void
init()
static void
Reset()
void
setChanceToSpawnKey
(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()
-