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 booleanbAlarmedjava.util.ArrayListemptyoutsidebooleanhasBeenVisitedintlootRespawnHourgnu.trove.list.array.TShortArrayListoverlappedChunksjava.util.ArrayListroomsbooleanseenjava.lang.StringstashKahluaTabletableintxintx2intyinty2IsoMetaGrid.Zonezone -
Constructor Summary
Constructors Constructor Description BuildingDef() -
Method Summary
Modifier and Type Method Description voidCalculateBounds(java.util.ArrayList arrayList)intgetChunkX()intgetChunkY()RoomDefgetFirstRoom()IsoGridSquaregetFreeSquareInRoom()intgetH()intgetID()intgetKeyId()intgetKeySpawned()java.util.ArrayListgetRooms()KahluaTablegetTable()intgetW()intgetX()intgetX2()intgetY()intgetY2()IsoMetaGrid.ZonegetZone()booleanisAllExplored()booleanisFullyStreamedIn()booleanisHasBeenVisited()booleanoverlapsChunk(int int1, int int2)voidsetAllExplored(boolean boolean1)voidsetHasBeenVisited(boolean boolean1)voidsetKeyId(int int1)voidsetKeySpawned(int int1)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 boolean1) -
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 arrayList) -
overlapsChunk
public boolean overlapsChunk(int int1, int int2) -
getFreeSquareInRoom
-
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)
-