Class IsoRoom
java.lang.Object
zombie.iso.areas.IsoRoom
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Vector<IsoGridSquare> final ArrayList<ItemContainer> final Vector<IsoRoomExit> intfinal ArrayList<IsoLightSwitch> final ArrayList<RoomDef.RoomRect> final ArrayList<IsoRoomLight> intfinal ArrayList<IsoGridSquare> final Vector<IsoGridSquare> intint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd2TileBench(String string0, String string1, String string2, String string3, String string4, boolean boolean1) booleanbooleanbooleanbooleanvoidCreateBuilding(IsoCell cell) voidcreateLights(boolean active) findRoomLightByID(int int1) getName()getRandomWallFreePairSquare(IsoDirections directions, boolean boolean0) booleanbooleanhasWater()booleanbooleanisInside(int x, int y, int z) booleanisShop()voidonSee()voidvoidvoidsetWaterSources(ArrayList<IsoObject> _WaterSources) booleanbooleanvoidvoiduseWater()
-
Field Details
-
Beds
-
bounds
-
building
-
Containers
-
Windows
-
Exits
-
layer
public int layer -
RoomDef
-
TileList
-
transparentWalls
public int transparentWalls -
lightSwitches
-
roomLights
-
WaterSources
-
seen
public int seen -
visited
public int visited -
def
-
rects
-
Squares
-
-
Constructor Details
-
IsoRoom
public IsoRoom()
-
-
Method Details
-
getBuilding
-
getName
-
CreateBuilding
-
isInside
public boolean isInside(int x, int y, int z) -
getFreeTile
-
getWaterSources
-
setWaterSources
-
hasWater
public boolean hasWater() -
useWater
public void useWater() -
getWindows
-
addSquare
-
refreshSquares
public void refreshSquares() -
removeSquare
-
spawnZombies
public void spawnZombies() -
onSee
public void onSee() -
getTileList
-
getSquares
-
getContainer
-
getRandomSquare
-
getRandomFreeSquare
-
getRandomDoorFreeSquare
-
getRandomWallFreeSquare
-
getRandomWallFreePairSquare
-
getRandomWallSquare
-
getRandomDoorAndWallFreeSquare
-
hasLightSwitches
public boolean hasLightSwitches() -
createLights
public void createLights(boolean active) -
findRoomLightByID
-
getRoomDef
-
getLightSwitches
-
spawnRandomWorkstation
public boolean spawnRandomWorkstation() -
spawnRandom2TileWorkstation
public boolean spawnRandom2TileWorkstation() -
addMetalWorkbench
public boolean addMetalWorkbench() -
addPotteryWheel
public boolean addPotteryWheel() -
addOldPotteryWheel
public boolean addOldPotteryWheel() -
addModernPotteryWheel
public boolean addModernPotteryWheel() -
add2TileBench
-
isShop
public boolean isShop() -
isDerelict
public boolean isDerelict()
-