/// <summary> /// Loads the game if a save is found /// </summary> private void LoadGame() { // Attempt to load from savefile GameLogic LoadedFromSave = GameLogic.LoadOptions(); Game = new GameLogic(); Game.CreateDefaultGame(); if (LoadedFromSave != Game) { // If saved game is not same as default, take the loaded version Game = LoadedFromSave; } // adds the black lines separating each tile AddSeparatorPanels(); // Add a panel to each tile AddPanelsToTiles(); }