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 classTilePropertyAliasMap.TileProperty -
Field Summary
Fields Modifier and Type Field Description static TilePropertyAliasMapinstancejava.util.ArrayListPropertiesjava.util.HashMapPropertyToID -
Constructor Summary
Constructors Constructor Description TilePropertyAliasMap() -
Method Summary
Modifier and Type Method Description voidGenerate(java.util.HashMap propertyValueMap)intgetIDFromPropertyName(java.lang.String name)intgetIDFromPropertyValue(int property, java.lang.String value)java.lang.StringgetPropertyValueString(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)
-