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> static final intfinal ArrayList<RoomDef.RoomRect> final ArrayList<IsoRoomLight> intfinal ArrayList<IsoGridSquare> final Vector<IsoGridSquare> intint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd2TileBench(String bench, String sprite1, String sprite2, String sprite3, String sprite4, boolean both) booleanbooleanbooleanbooleanvoidvoidclear(boolean bLoading) CreateBuilding(IsoCell cell) voidcreateLights(boolean active) findRoomLightByID(int id) getName()getRandomWallFreePairSquare(IsoDirections dir, boolean both) booleanbooleanhasWater()booleanbooleanisInside(int x, int y, int z) booleanisRural()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
-
MAXIMUM_DAYS
public static final int MAXIMUM_DAYS- See Also:
-
seen
public int seen -
visited
public int visited -
def
-
rects
-
squares
-
-
Constructor Details
-
IsoRoom
public IsoRoom()
-
-
Method Details
-
getBuilding
-
getName
-
CreateBuilding
-
getRectsBounds
-
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() -
isRural
public boolean isRural() -
clear
public void clear(boolean bLoading)
-