Class RBTableStoryBase
java.lang.Object
zombie.randomizedWorld.RandomizedWorldBase
zombie.randomizedWorld.randomizedBuilding.RandomizedBuildingBase
zombie.randomizedWorld.randomizedBuilding.TableStories.RBTableStoryBase
- Direct Known Subclasses:
RBTSBreakfast
,RBTSButcher
,RBTSDinner
,RBTSDrink
,RBTSElectronics
,RBTSFoodPreparation
,RBTSSandwich
,RBTSSewing
,RBTSSoup
public class RBTableStoryBase extends RandomizedBuildingBase
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.randomizedWorld.randomizedBuilding.RandomizedBuildingBase
RandomizedBuildingBase.HumanCorpse
-
Field Summary
Fields Modifier and Type Field Description static java.util.ArrayList
allStories
protected int
chance
java.util.ArrayList
fullTableMap
protected boolean
ignoreAgainstWall
protected boolean
need2Tables
protected java.util.ArrayList
rooms
protected IsoObject
table1
protected IsoObject
table2
static int
totalChance
protected boolean
westTable
Fields inherited from class zombie.randomizedWorld.randomizedBuilding.RandomizedBuildingBase
KBBuildingX, KBBuildingY
Fields inherited from class zombie.randomizedWorld.RandomizedWorldBase
debugLine, maximumDays, minimumDays, minimumRooms, name, unique
-
Constructor Summary
Constructors Constructor Description RBTableStoryBase()
-
Method Summary
Modifier and Type Method Description static RBTableStoryBase
getRandomStory(IsoGridSquare square, IsoObject object)
IsoObject
getSecondTable(IsoObject object)
static void
initStories(IsoGridSquare square, IsoObject object)
boolean
isValid(IsoGridSquare square, IsoObject object, boolean boolean1)
Methods inherited from class zombie.randomizedWorld.randomizedBuilding.RandomizedBuildingBase
addBarricade, addRandomRangedWeapon, addWorldItem, addWorldItem, addWorldItem, addZombies, addZombiesOnSquare, ChunkLoaded, getChance, getDoor, getMinimumDays, getMinimumRooms, getWindow, init, initAllRBMapChance, isAlwaysDo, isTableFor3DItems, isValid, randomizeBuilding, removeAllZombies, setAlwaysDo, setChance, setMinimumDays, setMinimumRooms, spawnItemsInContainers
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, 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
-
allStories
public static java.util.ArrayList allStories -
totalChance
public static int totalChance -
chance
protected int chance -
rooms
protected java.util.ArrayList rooms -
need2Tables
protected boolean need2Tables -
ignoreAgainstWall
protected boolean ignoreAgainstWall -
table2
-
table1
-
westTable
protected boolean westTable -
fullTableMap
public java.util.ArrayList fullTableMap
-
-
Constructor Details
-
RBTableStoryBase
public RBTableStoryBase()
-
-
Method Details
-
initStories
-
getRandomStory
-
isValid
-
getSecondTable
-