Class RandomizedBuildingBase
java.lang.Object
zombie.randomizedWorld.RandomizedWorldBase
zombie.randomizedWorld.randomizedBuilding.RandomizedBuildingBase
- Direct Known Subclasses:
RandomizedDeadSurvivorBase
,RBBar
,RBBasic
,RBBurnt
,RBBurntCorpse
,RBBurntFireman
,RBCafe
,RBClinic
,RBHairSalon
,RBKateAndBaldspot
,RBLooted
,RBOffice
,RBOther
,RBPileOCrepe
,RBPizzaWhirled
,RBSafehouse
,RBSchool
,RBShopLooted
,RBSpiffo
,RBStripclub
,RBTableStory
,RBTableStoryBase
public class RandomizedBuildingBase extends RandomizedWorldBase
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RandomizedBuildingBase.HumanCorpse
-
Field Summary
Fields Modifier and Type Field Description protected static int
KBBuildingX
protected static int
KBBuildingY
Fields inherited from class zombie.randomizedWorld.RandomizedWorldBase
debugLine, maximumDays, minimumDays, minimumRooms, name, unique
-
Constructor Summary
Constructors Constructor Description RandomizedBuildingBase()
-
Method Summary
Modifier and Type Method Description void
addBarricade(IsoGridSquare square, int int1)
HandWeapon
addRandomRangedWeapon(ItemContainer itemContainer, boolean boolean1, boolean boolean2, boolean boolean3)
InventoryItem
addWorldItem(java.lang.String string, IsoGridSquare square, float float1, float float2, float float3)
InventoryItem
addWorldItem(java.lang.String string, IsoGridSquare square, float float1, float float2, float float3, int int1)
InventoryItem
addWorldItem(java.lang.String string, IsoGridSquare square, IsoObject object)
java.util.ArrayList
addZombies(BuildingDef buildingDef, int int1, java.lang.String string, java.lang.Integer integer, RoomDef roomDef)
java.util.ArrayList
addZombiesOnSquare(int int1, java.lang.String string, java.lang.Integer integer, IsoGridSquare square)
static void
ChunkLoaded(IsoBuilding building)
int
getChance()
IsoDoor
getDoor(IsoGridSquare square)
int
getMinimumDays()
int
getMinimumRooms()
IsoWindow
getWindow(IsoGridSquare square)
void
init()
static void
initAllRBMapChance()
boolean
isAlwaysDo()
boolean
isTableFor3DItems(IsoObject object, IsoGridSquare square)
boolean
isValid(BuildingDef buildingDef, boolean boolean1)
void
randomizeBuilding(BuildingDef buildingDef)
protected void
removeAllZombies(BuildingDef buildingDef)
void
setAlwaysDo(boolean boolean1)
void
setChance(int int1)
void
setMinimumDays(int int1)
void
setMinimumRooms(int int1)
void
spawnItemsInContainers(BuildingDef buildingDef, java.lang.String string, int int1)
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
-
KBBuildingX
protected static final int KBBuildingX- See Also:
- Constant Field Values
-
KBBuildingY
protected static final int KBBuildingY- See Also:
- Constant Field Values
-
-
Constructor Details
-
RandomizedBuildingBase
public RandomizedBuildingBase()
-
-
Method Details
-
randomizeBuilding
-
init
public void init() -
initAllRBMapChance
public static void initAllRBMapChance() -
isValid
-
getMinimumDays
public int getMinimumDays() -
setMinimumDays
public void setMinimumDays(int int1) -
getMinimumRooms
public int getMinimumRooms() -
setMinimumRooms
public void setMinimumRooms(int int1) -
ChunkLoaded
-
getChance
public int getChance() -
setChance
public void setChance(int int1) -
isAlwaysDo
public boolean isAlwaysDo() -
setAlwaysDo
public void setAlwaysDo(boolean boolean1) -
addZombiesOnSquare
public java.util.ArrayList addZombiesOnSquare(int int1, java.lang.String string, java.lang.Integer integer, IsoGridSquare square)- Overrides:
addZombiesOnSquare
in classRandomizedWorldBase
-
addZombies
public java.util.ArrayList addZombies(BuildingDef buildingDef, int int1, java.lang.String string, java.lang.Integer integer, RoomDef roomDef) -
addRandomRangedWeapon
public HandWeapon addRandomRangedWeapon(ItemContainer itemContainer, boolean boolean1, boolean boolean2, boolean boolean3) -
spawnItemsInContainers
-
removeAllZombies
-
getWindow
-
getDoor
-
addBarricade
-
addWorldItem
public InventoryItem addWorldItem(java.lang.String string, IsoGridSquare square, float float1, float float2, float float3) -
addWorldItem
public InventoryItem addWorldItem(java.lang.String string, IsoGridSquare square, float float1, float float2, float float3, int int1) -
addWorldItem
-
isTableFor3DItems
-