Class IsoGridOcclusionData

java.lang.Object
zombie.iso.IsoGridOcclusionData

public class IsoGridOcclusionData extends Object
Created by ChrisWood (Tanglewood Games Limited) on 09/10/2017.
  • Field Details Link icon

  • Constructor Details Link icon

    • IsoGridOcclusionData Link icon

      public IsoGridOcclusionData(IsoGridSquare inOwnerSquare)
  • Method Details Link icon

    • SquareChanged Link icon

      public static void SquareChanged()
    • Reset Link icon

      public void Reset()
    • getCouldBeOccludedByOrphanStructures Link icon

      public boolean getCouldBeOccludedByOrphanStructures(IsoGridOcclusionData.OcclusionFilter filter)
      Returns whether built structures with no building id (orphans) could occlude some of the square. Depending on the exact shape of the structures, the square might not be hidden at all. This is used to hide player-built structures that might block our view of something in a square (at ground level)
    • getBuildingsCouldBeOccluders Link icon

      public ArrayList<IsoBuilding> getBuildingsCouldBeOccluders(IsoGridOcclusionData.OcclusionFilter filter)
      Returns buildings that could occlude some of the square. Depending on the exact shape of the building, the square might not be hidden at all. This is used to hide buildings that might block our view of something in a square (at ground level)