Class RandomizedVehicleStoryBase
java.lang.Object
zombie.randomizedWorld.RandomizedWorldBase
zombie.randomizedWorld.randomizedVehicleStory.RandomizedVehicleStoryBase
- Direct Known Subclasses:
RVSAmbulanceCrash
,RVSBanditRoad
,RVSBurntCar
,RVSCarCrash
,RVSCarCrashCorpse
,RVSChangingTire
,RVSConstructionSite
,RVSCrashHorde
,RVSFlippedCrash
,RVSPoliceBlockade
,RVSPoliceBlockadeShooting
,RVSTrailerCrash
,RVSUtilityVehicle
public class RandomizedVehicleStoryBase extends RandomizedWorldBase
-
Field Summary
Fields Modifier and Type Field Description static float
baseChance
protected boolean
horizontalZone
protected int
maxX
protected int
maxY
protected int
minX
protected int
minY
protected int
minZoneHeight
protected int
minZoneWidth
protected int
zoneWidth
Fields inherited from class zombie.randomizedWorld.RandomizedWorldBase
debugLine, maximumDays, minimumDays, minimumRooms, name, unique
-
Constructor Summary
Constructors Constructor Description RandomizedVehicleStoryBase()
-
Method Summary
Methods inherited from class zombie.randomizedWorld.RandomizedWorldBase
addBloodSplat, addItemOnGround, addItemOnGround, addRandomItemOnGround, addRandomItemsOnGround, addRandomItemsOnGround, addTentNorthSouth, addTentWestEast, addTileObject, addTileObject, addTrailer, addTrailOfBlood, addTraitOfBlood, addVehicle, addVehicle, addVehicle, addVehicleFlipped, addVehicleFlipped, addWeapon, addZombiesOnSquare, addZombiesOnVehicle, alignCorpseToSquare, createBodyFromZombie, createRandomDeadBody, createRandomDeadBody, createRandomDeadBody, createRandomDeadBody, createRandomDeadBody, createRandomZombie, createRandomZombie, createRandomZombieForCorpse, createSkeletonCorpse, getLivingRoomOrKitchen, getRandomRoom, getRandomSpawnSquare, getRandomSquareForCorpse, getRoom, getSq, is1x2AreaClear, is2x1AreaClear, is2x1or1x2AreaClear, is2x2AreaClear, isTimeValid, isUnique, removeAllVehiclesOnZone, setAttachedItem, setDebugLine, setUnique, spawnCarOnNearestNav
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
horizontalZone
protected boolean horizontalZone -
zoneWidth
protected int zoneWidth -
baseChance
public static final float baseChance- See Also:
- Constant Field Values
-
minX
protected int minX -
minY
protected int minY -
maxX
protected int maxX -
maxY
protected int maxY -
minZoneWidth
protected int minZoneWidth -
minZoneHeight
protected int minZoneHeight
-
-
Constructor Details
-
RandomizedVehicleStoryBase
public RandomizedVehicleStoryBase()
-
-
Method Details
-
initAllRVSMapChance
-
doRandomStory
-
getMinZoneWidth
public int getMinZoneWidth() -
getMinZoneHeight
public int getMinZoneHeight() -
randomizeVehicleStory
-
getCenterOfChunk
-
isValid
-
initSpawnDataForChunk
-
getSpawnPoint
-
getRectangleSpawnPoint
-
getPolylineSpawnPoint
-
isFullyStreamedIn
public boolean isFullyStreamedIn(int int1, int int2, int int3, int int4) -
isChunkLoaded
public boolean isChunkLoaded(int int1, int int2) -
initVehicleStorySpawner
-
callVehicleStorySpawner
-
spawnElement
public void spawnElement(VehicleStorySpawner vehicleStorySpawner, VehicleStorySpawner.Element element) -
addSmashedOverlay
public BaseVehicle[] addSmashedOverlay(BaseVehicle baseVehicle, BaseVehicle baseVehicle2, int int1, int int2, boolean boolean1, boolean boolean2) -
getChance
public int getChance() -
setChance
public void setChance(int int1) -
getMinimumDays
public int getMinimumDays() -
setMinimumDays
public void setMinimumDays(int int1) -
getMaximumDays
public int getMaximumDays()- Overrides:
getMaximumDays
in classRandomizedWorldBase
-
setMaximumDays
public void setMaximumDays(int int1)- Overrides:
setMaximumDays
in classRandomizedWorldBase
-
getName
public java.lang.String getName()- Overrides:
getName
in classRandomizedWorldBase
-
getDebugLine
public java.lang.String getDebugLine()- Overrides:
getDebugLine
in classRandomizedWorldBase
-
registerCustomOutfits
public void registerCustomOutfits()
-