Package zombie.iso
Class BuildingDef
java.lang.Object
zombie.iso.BuildingDef
-
Field Summary
Modifier and TypeFieldDescriptionboolean
int
boolean
int
long
gnu.trove.list.array.TShortArrayList
boolean
se.krka.kahlua.vm.KahluaTable
int
int
int
int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
CalculateBounds
(ArrayList<RoomDef> tempRooms) long
calculateMetaID
(int cellX, int cellY) boolean
containsRoom
(String name) void
Dispose()
int
int
float
getClosestPoint
(float x, float y, org.joml.Vector2f closestXY) int
getH()
int
getID()
int
getKeyId()
int
getRandomRoom
(int minArea) getRooms()
se.krka.kahlua.vm.KahluaTable
getTable()
int
getW()
int
getX()
int
getX2()
int
getY()
int
getY2()
getZone()
boolean
boolean
boolean
boolean
boolean
boolean
overlapsChunk
(int wx, int wy) void
void
void
setAlarmed
(boolean alarm) void
setAllExplored
(boolean b) void
setHasBeenVisited
(boolean hasBeenVisited) void
setKeyId
(int keyId) void
setKeySpawned
(int keySpawned)
-
Field Details
-
emptyoutside
-
table
public se.krka.kahlua.vm.KahluaTable table -
seen
public boolean seen -
hasBeenVisited
public boolean hasBeenVisited -
stash
-
lootRespawnHour
public int lootRespawnHour -
overlappedChunks
public gnu.trove.list.array.TShortArrayList overlappedChunks -
bAlarmed
public boolean bAlarmed -
x
public int x -
y
public int y -
x2
public int x2 -
y2
public int y2 -
rooms
-
zone
-
food
public int food -
items
-
itemTypes
-
metaID
public long metaID
-
-
Constructor Details
-
BuildingDef
public BuildingDef()
-
-
Method Details
-
getTable
public se.krka.kahlua.vm.KahluaTable getTable() -
getRooms
-
getRoom
-
isAllExplored
public boolean isAllExplored() -
setAllExplored
public void setAllExplored(boolean b) -
getFirstRoom
-
getChunkX
public int getChunkX() -
getChunkY
public int getChunkY() -
getX
public int getX() -
getY
public int getY() -
getX2
public int getX2() -
getY2
public int getY2() -
getW
public int getW() -
getH
public int getH() -
getID
public int getID() -
refreshSquares
public void refreshSquares() -
CalculateBounds
-
calculateMetaID
public long calculateMetaID(int cellX, int cellY) -
recalculate
public void recalculate() -
overlapsChunk
public boolean overlapsChunk(int wx, int wy) -
getFreeSquareInRoom
-
containsRoom
-
isFullyStreamedIn
public boolean isFullyStreamedIn() -
isAnyChunkNewlyLoaded
public boolean isAnyChunkNewlyLoaded() -
getZone
-
getKeyId
public int getKeyId() -
setKeyId
public void setKeyId(int keyId) -
getKeySpawned
public int getKeySpawned() -
setKeySpawned
public void setKeySpawned(int keySpawned) -
isHasBeenVisited
public boolean isHasBeenVisited() -
setHasBeenVisited
public void setHasBeenVisited(boolean hasBeenVisited) -
isAlarmed
public boolean isAlarmed() -
setAlarmed
public void setAlarmed(boolean alarm) -
getRandomRoom
-
getClosestPoint
public float getClosestPoint(float x, float y, org.joml.Vector2f closestXY) -
Dispose
public void Dispose()
-