Class RandomizedZoneStoryBase
java.lang.Object
zombie.randomizedWorld.RandomizedWorldBase
zombie.randomizedWorld.randomizedZoneStory.RandomizedZoneStoryBase
- Direct Known Subclasses:
RZSBaseball,RZSBBQParty,RZSBeachParty,RZSBuryingCamp,RZSFishingTrip,RZSForestCamp,RZSForestCampEaten,RZSHunterCamp,RZSMusicFest,RZSMusicFestStage,RZSSexyTime,RZSTrapperCamp
public class RandomizedZoneStoryBase extends RandomizedWorldBase
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRandomizedZoneStoryBase.ZoneType -
Field Summary
Fields Modifier and Type Field Description booleanalwaysDostatic intbaseChanceintchanceprotected intminZoneHeightprotected intminZoneWidthstatic inttotalChancestatic java.lang.StringzoneStoryjava.util.ArrayListzoneTypeFields inherited from class zombie.randomizedWorld.RandomizedWorldBase
debugLine, maximumDays, minimumDays, minimumRooms, name, unique -
Constructor Summary
Constructors Constructor Description RandomizedZoneStoryBase() -
Method Summary
Modifier and Type Method Description voidcleanAreaForStory(RandomizedZoneStoryBase randomizedZoneStoryBase, IsoMetaGrid.Zone zone)intgetMinimumHeight()intgetMinimumWidth()IsoGridSquaregetRandomFreeSquare(RandomizedZoneStoryBase randomizedZoneStoryBase, IsoMetaGrid.Zone zone)IsoGridSquaregetRandomFreeSquareFullZone(RandomizedZoneStoryBase randomizedZoneStoryBase, IsoMetaGrid.Zone zone)static voidinitAllRZSMapChance(IsoMetaGrid.Zone zone)booleanisValid()booleanisValid(IsoMetaGrid.Zone zone, boolean boolean1)static booleanisValidForStory(IsoMetaGrid.Zone zone, boolean boolean1)voidrandomizeZoneStory(IsoMetaGrid.Zone zone)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, getDebugLine, getLivingRoomOrKitchen, getMaximumDays, getName, getRandomRoom, getRandomSpawnSquare, getRandomSquareForCorpse, getRoom, getSq, is1x2AreaClear, is2x1AreaClear, is2x1or1x2AreaClear, is2x2AreaClear, isTimeValid, isUnique, removeAllVehiclesOnZone, setAttachedItem, setDebugLine, setMaximumDays, setUnique, spawnCarOnNearestNavMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
alwaysDo
public boolean alwaysDo -
baseChance
public static final int baseChance- See Also:
- Constant Field Values
-
totalChance
public static int totalChance -
zoneStory
public static final java.lang.String zoneStory- See Also:
- Constant Field Values
-
chance
public int chance -
minZoneWidth
protected int minZoneWidth -
minZoneHeight
protected int minZoneHeight -
zoneType
public final java.util.ArrayList zoneType
-
-
Constructor Details
-
RandomizedZoneStoryBase
public RandomizedZoneStoryBase()
-
-
Method Details
-
isValidForStory
-
initAllRZSMapChance
-
isValid
-
getRandomFreeSquare
public IsoGridSquare getRandomFreeSquare(RandomizedZoneStoryBase randomizedZoneStoryBase, IsoMetaGrid.Zone zone) -
getRandomFreeSquareFullZone
public IsoGridSquare getRandomFreeSquareFullZone(RandomizedZoneStoryBase randomizedZoneStoryBase, IsoMetaGrid.Zone zone) -
randomizeZoneStory
-
isValid
public boolean isValid() -
cleanAreaForStory
public void cleanAreaForStory(RandomizedZoneStoryBase randomizedZoneStoryBase, IsoMetaGrid.Zone zone) -
getMinimumWidth
public int getMinimumWidth() -
getMinimumHeight
public int getMinimumHeight()
-