Package zombie.iso
Class RoomDef
java.lang.Object
zombie.iso.RoomDef
public final 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
bDoneSpawn
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
spawnCount
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()
void
Dispose()
void
forEachChunk(java.util.function.BiConsumer biConsumer)
int
getArea()
float
getAreaOverlapping(int int1, int int2, int int3, int int4)
float
getAreaOverlapping(IsoChunk chunk)
BuildingDef
getBuilding()
IsoGridSquare
getFreeSquare()
int
getH()
int
getID()
IsoRoom
getIsoRoom()
java.util.ArrayList
getMetaObjects()
java.lang.String
getName()
java.util.ArrayList
getObjects()
java.util.HashMap
getProceduralSpawnedContainer()
IsoGridSquare
getRandomSquare(java.util.function.Predicate predicate)
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
isExplored()
boolean
isInside(int int1, int int2, int int3)
boolean
isRoofFixed()
void
refreshSquares()
void
setBuilding(BuildingDef buildingDef)
void
setExplored(boolean boolean1)
void
setRoofFixed(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 -
bDoneSpawn
public boolean bDoneSpawn -
IndoorZombies
public int IndoorZombies -
spawnCount
public int spawnCount -
bLightsActive
public boolean bLightsActive -
name
public java.lang.String name -
level
public int level -
building
-
ID
public int ID -
rects
public final java.util.ArrayList rects -
objects
public final 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
-
getID
public int getID() -
isExplored
public boolean isExplored() -
isInside
public boolean isInside(int int1, int int2, int int3) -
intersects
public boolean intersects(int int1, int int2, int int3, int int4) -
getAreaOverlapping
-
getAreaOverlapping
public float getAreaOverlapping(int int1, int int2, int int3, int int4) -
forEachChunk
public void forEachChunk(java.util.function.BiConsumer biConsumer) -
getIsoRoom
-
getObjects
public java.util.ArrayList getObjects() -
getMetaObjects
public java.util.ArrayList getMetaObjects() -
refreshSquares
public void refreshSquares() -
getBuilding
-
setBuilding
-
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() -
getArea
public int getArea() -
setExplored
public void setExplored(boolean boolean1) -
getFreeSquare
-
getRandomSquare
-
isEmptyOutside
public boolean isEmptyOutside() -
getProceduralSpawnedContainer
public java.util.HashMap getProceduralSpawnedContainer() -
isRoofFixed
public boolean isRoofFixed() -
setRoofFixed
public void setRoofFixed(boolean boolean1) -
Dispose
public void Dispose()
-