Class StatSave

java.lang.Object
com.csse3200.game.gamestate.data.StatSave
All Implemented Interfaces:
com.badlogic.gdx.utils.Json.Serializable

public class StatSave extends Object implements com.badlogic.gdx.utils.Json.Serializable
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    com.badlogic.gdx.utils.Array<Stat>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    read(com.badlogic.gdx.utils.Json json, com.badlogic.gdx.utils.JsonValue jsonData)
     
    void
    write(com.badlogic.gdx.utils.Json json)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • stats

      public com.badlogic.gdx.utils.Array<Stat> stats
  • Constructor Details

    • StatSave

      public StatSave()
  • Method Details

    • 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