Class IsoBuilding

java.lang.Object
zombie.iso.areas.IsoArea
zombie.iso.areas.IsoBuilding

public class IsoBuilding
extends IsoArea
  • Field Details

    • bounds

      public java.awt.Rectangle bounds
    • Exits

      public java.util.Vector Exits
    • IsResidence

      public boolean IsResidence
    • container

      public java.util.ArrayList container
    • Rooms

      public java.util.Vector Rooms
    • Windows

      public 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

      public BuildingDef def
    • bSeenInside

      public boolean bSeenInside
    • lights

      public java.util.ArrayList lights
  • Constructor Details

    • IsoBuilding

      public IsoBuilding()
    • IsoBuilding

      public IsoBuilding​(IsoCell cell)
  • Method Details

    • getRoomsNumber

      public int getRoomsNumber()
    • TriggerAlarm

      public void TriggerAlarm()
    • ContainsAllItems

      public boolean ContainsAllItems​(java.util.Stack stack)
    • ScoreBuildingPersonSpecific

      public float ScoreBuildingPersonSpecific​(SurvivorDesc survivorDesc, boolean boolean1)
    • getNeedsScore

      public float getNeedsScore​(SurvivorGroup survivorGroup)
    • ScoreBuildingGroupSpecific

      public float ScoreBuildingGroupSpecific​(SurvivorGroup survivorGroup)
    • getDef

      public BuildingDef getDef()
    • update

      public void update()
    • AddRoom

      public void AddRoom​(IsoRoom room)
    • CalculateExits

      public void CalculateExits()
    • CalculateWindows

      public void CalculateWindows()
    • FillContainers

      public void FillContainers()
    • getContainerWith

      public ItemContainer getContainerWith​(ItemType itemType)
    • getRandomRoom

      public IsoRoom getRandomRoom()
    • getFreeTile

      public IsoGridSquare getFreeTile()
    • hasWater

      public boolean hasWater()
    • CreateFrom

      public void CreateFrom​(BuildingDef buildingDef, LotHeader lotHeader)
    • setAllExplored

      public void setAllExplored​(boolean boolean1)
    • isAllExplored

      public boolean isAllExplored()
    • addWindow

      public void addWindow​(IsoWindow window, boolean boolean1, IsoGridSquare square, IsoBuilding building)
    • addWindow

      public void addWindow​(IsoWindow window, boolean boolean1)
    • addDoor

      public void addDoor​(IsoDoor door, boolean boolean1, IsoGridSquare square, IsoBuilding building)
    • addDoor

      public void addDoor​(IsoDoor door, boolean boolean1)
    • isResidential

      public boolean isResidential()
    • containsRoom

      public boolean containsRoom​(java.lang.String string)
    • getRandomRoom

      public IsoRoom getRandomRoom​(java.lang.String string)
    • getRandomContainer

      public ItemContainer getRandomContainer​(java.lang.String string)
    • getRandomFirstFloorWindow

      public IsoWindow getRandomFirstFloorWindow()
    • isToxic

      public boolean isToxic()
    • setToxic

      public void setToxic​(boolean boolean1)