/// <summary> /// Constructor that initializes the user interface and the model. /// </summary> /// <param name="tetris"></param> /// <param name="UI"></param> public Controller() { AllTimeHighScore = FileManager.LoadHighScore(); }
/// <summary> /// Saving the current game to file. /// </summary> /// <param name="filePathAndName"></param> public void SaveCurrentGame(string filePathAndName) { FileManager.SaveGameToFile(filePathAndName, Model); }