Package zombie.iso.areas
Class IsoRoom
java.lang.Object
zombie.iso.areas.IsoRoom
public final class IsoRoom
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description java.util.Vector
Beds
java.awt.Rectangle
bounds
IsoBuilding
building
java.util.ArrayList
Containers
RoomDef
def
java.util.Vector
Exits
int
layer
java.util.ArrayList
lightSwitches
java.util.ArrayList
rects
java.lang.String
RoomDef
java.util.ArrayList
roomLights
int
seen
java.util.ArrayList
Squares
java.util.Vector
TileList
int
transparentWalls
int
visited
java.util.ArrayList
WaterSources
java.util.ArrayList
Windows
-
Constructor Summary
Constructors Constructor Description IsoRoom()
-
Method Summary
Modifier and Type Method Description void
addSquare(IsoGridSquare square)
IsoBuilding
CreateBuilding(IsoCell cell)
void
createLights(boolean boolean1)
IsoBuilding
getBuilding()
java.util.ArrayList
getContainer()
IsoGridSquare
getFreeTile()
java.util.ArrayList
getLightSwitches()
java.lang.String
getName()
IsoGridSquare
getRandomFreeSquare()
IsoGridSquare
getRandomSquare()
RoomDef
getRoomDef()
java.util.ArrayList
getSquares()
java.util.Vector
getTileList()
java.util.ArrayList
getWaterSources()
java.util.ArrayList
getWindows()
boolean
hasLightSwitches()
boolean
hasWater()
boolean
isInside(int int1, int int2, int int3)
void
onSee()
void
refreshSquares()
void
removeSquare(IsoGridSquare square)
void
setWaterSources(java.util.ArrayList arrayList)
void
spawnZombies()
void
useWater()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
Beds
public final java.util.Vector Beds -
bounds
public java.awt.Rectangle bounds -
building
-
Containers
public final java.util.ArrayList Containers -
Windows
public final java.util.ArrayList Windows -
Exits
public final java.util.Vector Exits -
layer
public int layer -
RoomDef
public java.lang.String RoomDef -
TileList
public final java.util.Vector TileList -
transparentWalls
public int transparentWalls -
lightSwitches
public final java.util.ArrayList lightSwitches -
roomLights
public final java.util.ArrayList roomLights -
WaterSources
public final java.util.ArrayList WaterSources -
seen
public int seen -
visited
public int visited -
def
-
rects
public final java.util.ArrayList rects -
Squares
public final java.util.ArrayList Squares
-
-
Constructor Details
-
IsoRoom
public IsoRoom()
-
-
Method Details
-
getBuilding
-
getName
public java.lang.String getName() -
CreateBuilding
-
isInside
public boolean isInside(int int1, int int2, int int3) -
getFreeTile
-
getWaterSources
public java.util.ArrayList getWaterSources() -
setWaterSources
public void setWaterSources(java.util.ArrayList arrayList) -
hasWater
public boolean hasWater() -
useWater
public void useWater() -
getWindows
public java.util.ArrayList getWindows() -
addSquare
-
refreshSquares
public void refreshSquares() -
removeSquare
-
spawnZombies
public void spawnZombies() -
onSee
public void onSee() -
getTileList
public java.util.Vector getTileList() -
getSquares
public java.util.ArrayList getSquares() -
getContainer
public java.util.ArrayList getContainer() -
getRandomSquare
-
getRandomFreeSquare
-
hasLightSwitches
public boolean hasLightSwitches() -
createLights
public void createLights(boolean boolean1) -
getRoomDef
-
getLightSwitches
public java.util.ArrayList getLightSwitches()
-