Class RandomizedVehicleStoryBase

java.lang.Object
zombie.randomizedWorld.RandomizedWorldBase
zombie.randomizedWorld.randomizedVehicleStory.RandomizedVehicleStoryBase
  • Field Details

    • horizontalZone

      protected boolean horizontalZone
    • zoneWidth

      protected int zoneWidth
    • baseChance

      public static int baseChance
    • minX

      protected int minX
    • minY

      protected int minY
    • maxX

      protected int maxX
    • maxY

      protected int maxY
    • minZoneWidth

      protected int minZoneWidth
    • minZoneHeight

      protected int minZoneHeight
    • needsPavement

      protected boolean needsPavement
    • needsDirt

      protected boolean needsDirt
    • needsRegion

      protected boolean needsRegion
    • needsFarmland

      protected boolean needsFarmland
    • needsRuralVegetation

      protected boolean needsRuralVegetation
    • notTown

      protected boolean notTown
  • Constructor Details

    • RandomizedVehicleStoryBase

      public RandomizedVehicleStoryBase()
  • Method Details

    • initAllRVSMapChance

      public static void initAllRVSMapChance(Zone zone, IsoChunk isoChunk)
    • doRandomStory

      public static boolean doRandomStory(Zone zone, IsoChunk isoChunk, boolean var2)
    • getMinZoneWidth

      public int getMinZoneWidth()
    • getMinZoneHeight

      public int getMinZoneHeight()
    • randomizeVehicleStory

      public void randomizeVehicleStory(Zone var1, IsoChunk var2)
    • getCenterOfChunk

      public IsoGridSquare getCenterOfChunk(Zone zone, IsoChunk isoChunk)
    • isValid

      public boolean isValid(Zone zone, IsoChunk isoChunk, boolean boolean0)
    • initSpawnDataForChunk

      public VehicleStorySpawnData initSpawnDataForChunk(Zone zone, IsoChunk isoChunk)
    • getSpawnPoint

      public boolean getSpawnPoint(Zone zone, IsoChunk isoChunk, float[] float0)
    • getRectangleSpawnPoint

      public boolean getRectangleSpawnPoint(Zone zone, IsoChunk isoChunk, float[] float0)
    • getPolylineSpawnPoint

      public boolean getPolylineSpawnPoint(Zone zone, IsoChunk isoChunk, float[] float8)
    • isFullyStreamedIn

      public boolean isFullyStreamedIn(int x1, int y1, int x2, int y2)
    • isChunkLoaded

      public boolean isChunkLoaded(int wx, int wy)
    • initVehicleStorySpawner

      public boolean initVehicleStorySpawner(Zone var1, IsoChunk var2, boolean var3)
    • callVehicleStorySpawner

      public boolean callVehicleStorySpawner(Zone zone, IsoChunk isoChunk, float float2)
    • spawnElement

      public void spawnElement(VehicleStorySpawner spawner, VehicleStorySpawner.Element element)
    • addSmashedOverlay

      public BaseVehicle[] addSmashedOverlay(BaseVehicle v1, BaseVehicle v2, int xOffset, int yOffset, boolean _horizontalZone, boolean addBlood)
    • getChance

      public int getChance()
    • setChance

      public void setChance(int _chance)
    • getMinimumDays

      public int getMinimumDays()
    • setMinimumDays

      public void setMinimumDays(int minimumDays)
    • getMaximumDays

      public int getMaximumDays()
      Overrides:
      getMaximumDays in class RandomizedWorldBase
    • setMaximumDays

      public void setMaximumDays(int maximumDays)
      Overrides:
      setMaximumDays in class RandomizedWorldBase
    • getName

      public String getName()
      Overrides:
      getName in class RandomizedWorldBase
    • getDebugLine

      public String getDebugLine()
      Overrides:
      getDebugLine in class RandomizedWorldBase
    • registerCustomOutfits

      public void registerCustomOutfits()
    • getRandomFreeUnoccupiedSquare

      public static IsoGridSquare getRandomFreeUnoccupiedSquare(RandomizedVehicleStoryBase randomizedVehicleStoryBase, Zone zone, IsoGridSquare isoGridSquare1)