Package zombie.iso.areas
Class IsoBuilding
java.lang.Object
zombie.iso.areas.IsoArea
zombie.iso.areas.IsoBuilding
public final class IsoBuilding extends IsoArea
-
Field Summary
Fields Modifier and Type Field Description java.awt.Rectangle
bounds
boolean
bSeenInside
java.util.ArrayList
container
BuildingDef
def
java.util.Vector
Exits
static float
GoodBuildingScore
int
ID
static int
IDMax
boolean
IsResidence
java.util.ArrayList
lights
static float
PoorBuildingScore
java.util.Vector
Rooms
int
safety
int
scoreUpdate
int
transparentWalls
java.util.Vector
Windows
-
Constructor Summary
Constructors Constructor Description IsoBuilding()
IsoBuilding(IsoCell cell)
-
Method Summary
Modifier and Type Method Description void
addDoor(IsoDoor door, boolean boolean1)
void
addDoor(IsoDoor door, boolean boolean1, IsoGridSquare square, IsoBuilding building)
void
AddRoom(IsoRoom room)
void
addWindow(IsoWindow window, boolean boolean1)
void
addWindow(IsoWindow window, boolean boolean1, IsoGridSquare square, IsoBuilding building)
void
CalculateExits()
void
CalculateWindows()
boolean
ContainsAllItems(java.util.Stack stack)
boolean
containsRoom(java.lang.String string)
void
CreateFrom(BuildingDef buildingDef, LotHeader lotHeader)
void
FillContainers()
void
forceAwake()
ItemContainer
getContainerWith(ItemType itemType)
BuildingDef
getDef()
IsoGridSquare
getFreeTile()
int
getID()
ItemContainer
getRandomContainer(java.lang.String string)
IsoWindow
getRandomFirstFloorWindow()
IsoRoom
getRandomRoom()
IsoRoom
getRandomRoom(java.lang.String string)
int
getRoomsNumber()
boolean
hasWater()
boolean
isAllExplored()
boolean
isResidential()
boolean
isToxic()
float
ScoreBuildingPersonSpecific(SurvivorDesc survivorDesc, boolean boolean1)
void
setAllExplored(boolean boolean1)
void
setToxic(boolean boolean1)
void
TriggerAlarm()
void
update()
Methods inherited from class zombie.iso.areas.IsoArea
Ardo, asasa, Thigglewhat, Thigglewhat2, Thigglewhat22
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
bounds
public java.awt.Rectangle bounds -
Exits
public final java.util.Vector Exits -
IsResidence
public boolean IsResidence -
container
public final java.util.ArrayList container -
Rooms
public final java.util.Vector Rooms -
Windows
public final java.util.Vector Windows -
ID
public int ID -
IDMax
public static int IDMax -
safety
public int safety -
transparentWalls
public int transparentWalls -
PoorBuildingScore
public static float PoorBuildingScore -
GoodBuildingScore
public static float GoodBuildingScore -
scoreUpdate
public int scoreUpdate -
def
-
bSeenInside
public boolean bSeenInside -
lights
public java.util.ArrayList lights
-
-
Constructor Details
-
IsoBuilding
public IsoBuilding() -
IsoBuilding
-
-
Method Details
-
getRoomsNumber
public int getRoomsNumber() -
getID
public int getID() -
TriggerAlarm
public void TriggerAlarm() -
ContainsAllItems
public boolean ContainsAllItems(java.util.Stack stack) -
ScoreBuildingPersonSpecific
-
getDef
-
update
public void update() -
AddRoom
-
CalculateExits
public void CalculateExits() -
CalculateWindows
public void CalculateWindows() -
FillContainers
public void FillContainers() -
getContainerWith
-
getRandomRoom
-
getFreeTile
-
hasWater
public boolean hasWater() -
CreateFrom
-
setAllExplored
public void setAllExplored(boolean boolean1) -
isAllExplored
public boolean isAllExplored() -
addWindow
public void addWindow(IsoWindow window, boolean boolean1, IsoGridSquare square, IsoBuilding building) -
addWindow
-
addDoor
-
addDoor
-
isResidential
public boolean isResidential() -
containsRoom
public boolean containsRoom(java.lang.String string) -
getRandomRoom
-
getRandomContainer
-
getRandomFirstFloorWindow
-
isToxic
public boolean isToxic() -
setToxic
public void setToxic(boolean boolean1) -
forceAwake
public void forceAwake()
-