Class Achievements

java.lang.Object
com.csse3200.game.gamestate.Achievements

public class Achievements extends Object
A data struct that contains other data structs to be saved to JSONs by SaveHandler. Fields MUST be static. To be kept between playthroughs.
  • Field Details

  • Method Details

    • resetState

      public static void resetState()
      Clears the contents of the GameState.
    • checkState

      public static boolean checkState()
      Checks whether GameState correctly loaded.
      Returns:
      a boolean to indicate whether GameState was correctly loaded.
    • clearState

      public static void clearState()
      Clears all the GameState contents and resets them to their original state.