Class WangColor
java.lang.Object
de.gurkenlabs.litiengine.environment.tilemap.xml.WangColor
-
Constructor Details
-
WangColor
public WangColor()
-
-
Method Details
-
getName
-
getColor
-
getProbability
public double getProbability()Description copied from interface:ITerrainGets the probability value associated with the terrain.The probability value is used in automatic mapping processes to indicate the likelihood or preference of using this terrain in specific contexts. Higher probability values may suggest a higher preference for automatic mapping.
- Specified by:
getProbabilityin interfaceITerrain- Returns:
- A
doublerepresenting the probability value of the terrain.
-