Package zombie.iso.areas
Class IsoRoom
java.lang.Object
zombie.iso.areas.IsoRoom
public 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
lights
java.util.ArrayList
lightSwitches
boolean
lit
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)
void
createLights1(boolean boolean1)
void
createLights2(boolean boolean1)
void
createLights3(boolean boolean1)
IsoBuilding
getBuilding()
java.util.ArrayList
getContainer()
IsoGridSquare
getFreeTile()
java.lang.String
getName()
IsoGridSquare
getRandomFreeSquare()
IsoGridSquare
getRandomSquare()
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
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 java.util.Vector Beds -
bounds
public java.awt.Rectangle bounds -
building
-
Containers
public java.util.ArrayList Containers -
Windows
public java.util.ArrayList Windows -
Exits
public java.util.Vector Exits -
layer
public int layer -
RoomDef
public java.lang.String RoomDef -
TileList
public java.util.Vector TileList -
transparentWalls
public int transparentWalls -
lit
public boolean lit -
lightSwitches
public java.util.ArrayList lightSwitches -
lights
public java.util.ArrayList lights -
roomLights
public java.util.ArrayList roomLights -
WaterSources
public java.util.ArrayList WaterSources -
seen
public int seen -
visited
public int visited -
def
-
rects
public java.util.ArrayList rects -
Squares
public 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
-
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() -
createLights1
public void createLights1(boolean boolean1) -
createLights2
public void createLights2(boolean boolean1) -
createLights3
public void createLights3(boolean boolean1) -
createLights
public void createLights(boolean boolean1)
-