Class PropertyMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<PropertyType,ItemProperty<? extends ItemPropertyValue>>
group24.escaperoom.entities.properties.PropertyMap
- All Implemented Interfaces:
com.badlogic.gdx.utils.Json.Serializable,Serializable,Cloneable,Map<PropertyType,ItemProperty<? extends ItemPropertyValue>>
public class PropertyMap
extends HashMap<PropertyType,ItemProperty<? extends ItemPropertyValue>>
implements com.badlogic.gdx.utils.Json.Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvoidread(com.badlogic.gdx.utils.Json json, com.badlogic.gdx.utils.JsonValue jsonData) voidreadWrapper(Item owner, com.badlogic.gdx.utils.Json json, com.badlogic.gdx.utils.JsonValue jsonData) voidwrite(com.badlogic.gdx.utils.Json json) Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Field Details
-
onMapCompletion
-
-
Constructor Details
-
PropertyMap
public PropertyMap()
-
-
Method Details
-
readWrapper
public void readWrapper(Item owner, com.badlogic.gdx.utils.Json json, com.badlogic.gdx.utils.JsonValue jsonData) -
write
public void write(com.badlogic.gdx.utils.Json json) - Specified by:
writein interfacecom.badlogic.gdx.utils.Json.Serializable
-
read
public void read(com.badlogic.gdx.utils.Json json, com.badlogic.gdx.utils.JsonValue jsonData) - Specified by:
readin interfacecom.badlogic.gdx.utils.Json.Serializable
-
applyCallbacks
public static void applyCallbacks()
-