Package zombie.iso
Class BuildingDef
java.lang.Object
zombie.iso.BuildingDef
public class BuildingDef
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description boolean
bAlarmed
java.util.ArrayList
emptyoutside
boolean
hasBeenVisited
int
lootRespawnHour
gnu.trove.list.array.TShortArrayList
overlappedChunks
java.util.ArrayList
rooms
boolean
seen
java.lang.String
stash
KahluaTable
table
int
x
int
x2
int
y
int
y2
IsoMetaGrid.Zone
zone
-
Constructor Summary
Constructors Constructor Description BuildingDef()
-
Method Summary
Modifier and Type Method Description void
CalculateBounds(java.util.ArrayList tempRooms)
int
getChunkX()
int
getChunkY()
RoomDef
getFirstRoom()
IsoGridSquare
getFreeSquareInRoom()
int
getH()
int
getID()
int
getKeyId()
int
getKeySpawned()
java.util.ArrayList
getRooms()
KahluaTable
getTable()
int
getW()
int
getX()
int
getX2()
int
getY()
int
getY2()
IsoMetaGrid.Zone
getZone()
boolean
isAllExplored()
boolean
isFullyStreamedIn()
boolean
isHasBeenVisited()
boolean
overlapsChunk(int wx, int wy)
void
setAllExplored(boolean b)
void
setHasBeenVisited(boolean hasBeenVisited)
void
setKeyId(int keyId)
void
setKeySpawned(int keySpawned)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
table
-
seen
public boolean seen -
hasBeenVisited
public boolean hasBeenVisited -
stash
public java.lang.String 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
public java.util.ArrayList rooms -
emptyoutside
public final java.util.ArrayList emptyoutside -
zone
-
-
Constructor Details
-
BuildingDef
public BuildingDef()
-
-
Method Details
-
getTable
-
getRooms
public java.util.ArrayList getRooms() -
setAllExplored
public void setAllExplored(boolean b) -
isAllExplored
public boolean isAllExplored() -
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() -
CalculateBounds
public void CalculateBounds(java.util.ArrayList tempRooms) -
overlapsChunk
public boolean overlapsChunk(int wx, int wy) -
getFreeSquareInRoom
-
isFullyStreamedIn
public boolean isFullyStreamedIn() -
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)
-