Package zombie.iso.areas
Class IsoRoom
java.lang.Object
zombie.iso.areas.IsoRoom
-
Field Summary
Modifier 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
CreateBuilding
(IsoCell cell) void
createLights
(boolean active) getName()
boolean
boolean
hasWater()
boolean
isInside
(int x, int y, int z) void
onSee()
void
void
void
setWaterSources
(ArrayList<IsoObject> WaterSources) 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
- Returns:
- the WaterSources
-
setWaterSources
- Parameters:
WaterSources
- the WaterSources to set
-
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
-
hasLightSwitches
public boolean hasLightSwitches() -
createLights
public void createLights(boolean active) -
getRoomDef
-
getLightSwitches
-