Class IsoRoom
java.lang.Object
zombie.iso.areas.IsoRoom
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Vector
<IsoGridSquare> final ArrayList
<ItemContainer> final Vector
<IsoRoomExit> int
final ArrayList
<IsoLightSwitch> final ArrayList
<RoomDef.RoomRect> final ArrayList
<IsoRoomLight> int
final ArrayList
<IsoGridSquare> final Vector
<IsoGridSquare> int
int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
add2TileBench
(String string0, String string1, String string2, String string3, String string4, boolean boolean1) boolean
boolean
boolean
boolean
void
CreateBuilding
(IsoCell cell) void
createLights
(boolean active) findRoomLightByID
(int int1) getName()
getRandomWallFreePairSquare
(IsoDirections isoDirections, boolean boolean0) boolean
boolean
hasWater()
boolean
isInside
(int x, int y, int z) boolean
isShop()
void
onSee()
void
void
void
setWaterSources
(ArrayList<IsoObject> _WaterSources) boolean
boolean
void
void
useWater()
-
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()
-