Contents
Class IsoGridOcclusionData
java.lang.Object
zombie.iso.IsoGridOcclusionData
Created by ChrisWood (Tanglewood Games Limited) on 09/10/2017.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns buildings that could occlude some of the square.booleanReturns whether built structures with no building id (orphans) could occlude some of the square.voidReset()static void
-
Field Details
-
Constructor Details
-
Method Details
-
SquareChanged
public static void SquareChanged() -
Reset
public void Reset() -
getCouldBeOccludedByOrphanStructures
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
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)
-