Exemplo n.º 1
0
 public GameSettings(Splosion game)
 {
     Game = game;
     if (Utilities.DoesFileExistAsync(ApplicationData.Current.RoamingFolder, "Data"))
     {
         _result = Load <ScoreData>(ApplicationData.Current.RoamingFolder, "Data");
     }
     else
     {
         _data = new ScoreData();
         Save();
     }
 }
Exemplo n.º 2
0
 public void ResetToDefault()
 {
     _data = new ScoreData();
     Save();
 }