Package zombie.iso
Class BuildingDef
java.lang.Object
zombie.iso.BuildingDef
public final class BuildingDef
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description boolean
bAlarmed
java.util.ArrayList
emptyoutside
int
food
boolean
hasBeenVisited
java.util.ArrayList
items
java.util.HashSet
itemTypes
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 arrayList)
boolean
containsRoom(java.lang.String string)
void
Dispose()
int
getChunkX()
int
getChunkY()
RoomDef
getFirstRoom()
IsoGridSquare
getFreeSquareInRoom()
int
getH()
int
getID()
int
getKeyId()
int
getKeySpawned()
RoomDef
getRandomRoom(int int1)
RoomDef
getRoom(java.lang.String string)
java.util.ArrayList
getRooms()
KahluaTable
getTable()
int
getW()
int
getX()
int
getX2()
int
getY()
int
getY2()
IsoMetaGrid.Zone
getZone()
boolean
isAlarmed()
boolean
isAllExplored()
boolean
isFullyStreamedIn()
boolean
isHasBeenVisited()
boolean
overlapsChunk(int int1, int int2)
void
recalculate()
void
refreshSquares()
void
setAlarmed(boolean boolean1)
void
setAllExplored(boolean boolean1)
void
setHasBeenVisited(boolean boolean1)
void
setKeyId(int int1)
void
setKeySpawned(int int1)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
emptyoutside
public final java.util.ArrayList emptyoutside -
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 final java.util.ArrayList rooms -
zone
-
food
public int food -
items
public java.util.ArrayList items -
itemTypes
public java.util.HashSet itemTypes
-
-
Constructor Details
-
BuildingDef
public BuildingDef()
-
-
Method Details
-
getTable
-
getRooms
public java.util.ArrayList getRooms() -
getRoom
-
isAllExplored
public boolean isAllExplored() -
setAllExplored
public void setAllExplored(boolean boolean1) -
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
public void CalculateBounds(java.util.ArrayList arrayList) -
recalculate
public void recalculate() -
overlapsChunk
public boolean overlapsChunk(int int1, int int2) -
getFreeSquareInRoom
-
containsRoom
public boolean containsRoom(java.lang.String string) -
isFullyStreamedIn
public boolean isFullyStreamedIn() -
getZone
-
getKeyId
public int getKeyId() -
setKeyId
public void setKeyId(int int1) -
getKeySpawned
public int getKeySpawned() -
setKeySpawned
public void setKeySpawned(int int1) -
isHasBeenVisited
public boolean isHasBeenVisited() -
setHasBeenVisited
public void setHasBeenVisited(boolean boolean1) -
isAlarmed
public boolean isAlarmed() -
setAlarmed
public void setAlarmed(boolean boolean1) -
getRandomRoom
-
Dispose
public void Dispose()
-