Beispiel #1
0
 public void ExecuteNewGame(object nothing)
 {
     DataResource.SaveEntries();
     MessagingCenter.Send(new StopLongRunningTaskMessage(), "StopLongRunningTaskMessage");
     NavigationMessage.PutData <bool> ("GameInProgress", false);
     App.Current.MainPage.Navigation.PushAsync(new GamePlay());
 }
Beispiel #2
0
 public void ExecuteResumeGame(object nothing)
 {
     DataResource.SaveEntries();
     App.Current.MainPage.Navigation.PushAsync(new GamePlay(NavigationMessage.GetData <Game> ("ActiveGame")));
 }