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:
  • Field Details

  • 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:
      write in interface com.badlogic.gdx.utils.Json.Serializable
    • read

      public void read(com.badlogic.gdx.utils.Json json, com.badlogic.gdx.utils.JsonValue jsonData)
      Specified by:
      read in interface com.badlogic.gdx.utils.Json.Serializable
    • applyCallbacks

      public static void applyCallbacks()