Package zombie.iso
Class RoomDef
java.lang.Object
zombie.iso.RoomDef
public class RoomDef
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RoomDef.RoomRect
-
Field Summary
Fields Modifier and Type Field Description int
area
boolean
bExplored
boolean
bLightsActive
BuildingDef
building
int
ID
int
IndoorZombies
int
level
java.lang.String
name
java.util.ArrayList
objects
java.util.ArrayList
rects
int
x
int
x2
int
y
int
y2
-
Constructor Summary
Constructors Constructor Description RoomDef(int int1, java.lang.String string)
-
Method Summary
Modifier and Type Method Description void
CalculateBounds()
int
getArea()
BuildingDef
getBuilding()
IsoGridSquare
getFreeSquare()
int
getH()
java.util.ArrayList
getMetaObjects()
java.lang.String
getName()
java.util.ArrayList
getObjects()
java.util.ArrayList
getRects()
int
getW()
int
getX()
int
getX2()
int
getY()
int
getY2()
int
getZ()
boolean
intersects(int int1, int int2, int int3, int int4)
boolean
isEmptyOutside()
boolean
isInside(int int1, int int2, int int3)
void
setBuilding(BuildingDef buildingDef)
void
setExplored(boolean boolean1)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
bExplored
public boolean bExplored -
IndoorZombies
public int IndoorZombies -
bLightsActive
public boolean bLightsActive -
name
public java.lang.String name -
level
public int level -
building
-
ID
public int ID -
rects
public java.util.ArrayList rects -
objects
public java.util.ArrayList objects -
x
public int x -
y
public int y -
x2
public int x2 -
y2
public int y2 -
area
public int area
-
-
Constructor Details
-
RoomDef
public RoomDef(int int1, java.lang.String string)
-
-
Method Details
-
isInside
public boolean isInside(int int1, int int2, int int3) -
intersects
public boolean intersects(int int1, int int2, int int3, int int4) -
getObjects
public java.util.ArrayList getObjects() -
getMetaObjects
public java.util.ArrayList getMetaObjects() -
getBuilding
-
getName
public java.lang.String getName() -
getRects
public java.util.ArrayList getRects() -
getY
public int getY() -
getX
public int getX() -
getX2
public int getX2() -
getY2
public int getY2() -
getW
public int getW() -
getH
public int getH() -
getZ
public int getZ() -
CalculateBounds
public void CalculateBounds() -
setBuilding
-
getArea
public int getArea() -
setExplored
public void setExplored(boolean boolean1) -
getFreeSquare
-
isEmptyOutside
public boolean isEmptyOutside()
-