Class RoomDef
java.lang.Object
zombie.iso.RoomDef
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionint
boolean
boolean
boolean
long
int
int
long
final ArrayList
<MetaObject> final ArrayList
<RoomDef.RoomRect> int
int
int
int
int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
long
calculateMetaID
(int cellX, int cellY) void
Dispose()
void
forEachChunk
(BiConsumer<RoomDef, IsoChunk> consumer) int
getArea()
float
getAreaOverlapping
(int _x, int _y, int w, int h) float
getAreaOverlapping
(IsoChunk chunk) float
getClosestPoint
(float float2, float float3, org.joml.Vector2f vector2f1) int
getH()
long
getID()
getName()
getRandomSquare
(Predicate<IsoGridSquare> predicate) getRects()
getRoomRect
(int int2, int int1, int var3) int
getW()
int
getX()
int
getX2()
int
getY()
int
getY2()
int
getZ()
boolean
intersects
(int _x, int _y, int w, int h) boolean
isAdjacent
(RoomDef roomDef0) boolean
boolean
boolean
isInside
(int _x, int _y, int z) boolean
boolean
boolean
isShop()
void
offset
(int int0, int int1) void
void
setBuilding
(BuildingDef def) void
setExplored
(boolean explored) void
void
setRoofFixed
(boolean b)
-
Field Details
-
bExplored
public boolean bExplored -
bDoneSpawn
public boolean bDoneSpawn -
IndoorZombies
public int IndoorZombies -
spawnCount
public int spawnCount -
bLightsActive
public boolean bLightsActive -
name
-
level
public int level -
building
-
ID
public long ID -
rects
-
objects
-
x
public int x -
y
public int y -
x2
public int x2 -
y2
public int y2 -
area
public int area -
metaID
public long metaID
-
-
Constructor Details
-
RoomDef
-
-
Method Details
-
getID
public long getID() -
isExplored
public boolean isExplored() -
isInside
public boolean isInside(int _x, int _y, int z) -
intersects
public boolean intersects(int _x, int _y, int w, int h) -
isAdjacent
-
getAreaOverlapping
-
getAreaOverlapping
public float getAreaOverlapping(int _x, int _y, int w, int h) -
forEachChunk
-
getIsoRoom
-
getObjects
-
getMetaObjects
-
refreshSquares
public void refreshSquares() -
getBuilding
-
setBuilding
-
getName
-
setName
-
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() -
calculateMetaID
public long calculateMetaID(int cellX, int cellY) -
offset
public void offset(int int0, int int1) -
getArea
public int getArea() -
setExplored
public void setExplored(boolean explored) -
getFreeSquare
-
getExtraFreeSquare
-
getFreeUnoccupiedSquare
-
getRandomSquare
-
isEmptyOutside
public boolean isEmptyOutside() -
getProceduralSpawnedContainer
-
getRoomRect
-
isRoofFixed
public boolean isRoofFixed() -
setRoofFixed
public void setRoofFixed(boolean b) -
getClosestPoint
public float getClosestPoint(float float2, float float3, org.joml.Vector2f vector2f1) -
Dispose
public void Dispose() -
isKidsRoom
public boolean isKidsRoom() -
isShop
public boolean isShop()
-