Beispiel #1
0
 private void btnLoad_Click(object sender, EventArgs e)
 {
     if (saveLoadLocationSelected)
     {
         List <string> listOfSaves = SaveGame.ListOfSaves();
         if (LoadGame.LoadGameFromFile(listOfSaves[saveLoadLocation]))
         {
             SaveLoadMessage("File successfully loaded");
         }
         else
         {
             SaveLoadMessage("Problem with file, game not loaded");
         }
     }
     else
     {
         SaveLoadMessage("No Load Location Selected");
     }
 }