Class ObjectTypeData

java.lang.Object
group24.escaperoom.entities.objects.ObjectTypeData
All Implemented Interfaces:
com.badlogic.gdx.utils.Json.Serializable, Serializable

public class ObjectTypeData extends Object implements Serializable, com.badlogic.gdx.utils.Json.Serializable
See Also:
  • Field Details

    • name

      public String name
    • category

      public String category
    • size

      public Types.Size size
    • texture

      public String texture
    • propertyParameters

      public HashMap<PropertyType,com.badlogic.gdx.utils.JsonValue> propertyParameters
    • renderPriority

      public int renderPriority
  • Constructor Details

    • ObjectTypeData

      public ObjectTypeData(String name, String category, Types.Size size, String texture, int renderPriority, HashMap<PropertyType,com.badlogic.gdx.utils.JsonValue> propertyParameters)
    • ObjectTypeData

      public ObjectTypeData()
      Empty constructor for Json.Serializable compatability
  • Method Details

    • copy

      public ObjectTypeData copy()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • 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