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 TypeMethodDescriptionbooleanReturns whether built structures with no building id (orphans) could occlude some of the square.voidReset()static void
-
Field Details
-
MAXBUILDINGOCCLUDERS
public static final int MAXBUILDINGOCCLUDERS- See Also:
-
-
Constructor Details
-
IsoGridOcclusionData
-
-
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)
-