Class SaveManager


  • public final class SaveManager
    extends java.lang.Object
    Added for assessment 2 Manges the saving of the game
    • Constructor Summary

      Constructors 
      Constructor Description
      SaveManager()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void LoadGame()
      Added for assessment 2 loads the preferences file and sets the difficulty of the saved game
      static void SaveGame()
      Added for assessment 2 Saves the state of the game.
      static void SpawnGame()
      Added for assessment 2 loads the state of the ships and colleges and sets the current quest
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SaveManager

        public SaveManager()
    • Method Detail

      • SaveGame

        public static void SaveGame()
        Added for assessment 2 Saves the state of the game. Added for assessment 2
      • LoadGame

        public static void LoadGame()
        Added for assessment 2 loads the preferences file and sets the difficulty of the saved game
      • SpawnGame

        public static void SpawnGame()
        Added for assessment 2 loads the state of the ships and colleges and sets the current quest