Package zombie.core
Class TilePropertyAliasMap
java.lang.Object
zombie.core.TilePropertyAliasMap
public class TilePropertyAliasMap
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
TilePropertyAliasMap.TileProperty
-
Field Summary
Fields Modifier and Type Field Description static TilePropertyAliasMap
instance
java.util.ArrayList
Properties
java.util.HashMap
PropertyToID
-
Constructor Summary
Constructors Constructor Description TilePropertyAliasMap()
-
Method Summary
Modifier and Type Method Description void
Generate(java.util.HashMap propertyValueMap)
int
getIDFromPropertyName(java.lang.String name)
int
getIDFromPropertyValue(int property, java.lang.String value)
java.lang.String
getPropertyValueString(int property, int value)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
instance
-
PropertyToID
public java.util.HashMap PropertyToID -
Properties
public java.util.ArrayList Properties
-
-
Constructor Details
-
TilePropertyAliasMap
public TilePropertyAliasMap()
-
-
Method Details
-
Generate
public void Generate(java.util.HashMap propertyValueMap) -
getIDFromPropertyName
public int getIDFromPropertyName(java.lang.String name) -
getIDFromPropertyValue
public int getIDFromPropertyValue(int property, java.lang.String value) -
getPropertyValueString
public java.lang.String getPropertyValueString(int property, int value)
-