Class VehicleType

java.lang.Object
zombie.vehicles.VehicleType

public class VehicleType
extends java.lang.Object
  • Field Details

    • vehiclesDefinition

      public java.util.ArrayList 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

      public java.lang.String name
    • chanceToPartDamage

      public int chanceToPartDamage
    • isSpecialCar

      public boolean isSpecialCar
    • isBurntCar

      public boolean isBurntCar
    • chanceToSpawnSpecial

      public int chanceToSpawnSpecial
    • vehicles

      public static java.util.HashMap vehicles
    • specialVehicles

      public static java.util.HashMap specialVehicles
  • Constructor Details

    • VehicleType

      public VehicleType​(java.lang.String string)
  • Method Details

    • init

      public static void init()
    • getRandomVehicleType

      public static VehicleType getRandomVehicleType​(java.lang.String string)
    • getTypeFromName

      public static VehicleType getTypeFromName​(java.lang.String string)
    • getBaseVehicleQuality

      public float getBaseVehicleQuality()
    • getChanceToSpawnKey

      public int getChanceToSpawnKey()
    • setChanceToSpawnKey

      public void setChanceToSpawnKey​(int int1)