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 class
RandomizedZoneStoryBase.ZoneType
-
Field Summary
Fields Modifier and Type Field Description boolean
alwaysDo
static int
baseChance
int
chance
protected int
minZoneHeight
protected int
minZoneWidth
static int
totalChance
static java.lang.String
zoneStory
java.util.ArrayList
zoneType
Fields 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 void
cleanAreaForStory(RandomizedZoneStoryBase randomizedZoneStoryBase, IsoMetaGrid.Zone zone)
int
getMinimumHeight()
int
getMinimumWidth()
IsoGridSquare
getRandomFreeSquare(RandomizedZoneStoryBase randomizedZoneStoryBase, IsoMetaGrid.Zone zone)
IsoGridSquare
getRandomFreeSquareFullZone(RandomizedZoneStoryBase randomizedZoneStoryBase, IsoMetaGrid.Zone zone)
static void
initAllRZSMapChance(IsoMetaGrid.Zone zone)
boolean
isValid()
boolean
isValid(IsoMetaGrid.Zone zone, boolean boolean1)
static boolean
isValidForStory(IsoMetaGrid.Zone zone, boolean boolean1)
void
randomizeZoneStory(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, spawnCarOnNearestNav
Methods 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()
-