private void Game_Completed(Player player) { // oyun bitti kazanan player Prefs.Settings.LastGame.Time = string.Format("{0:0}:{1:00}", ClockTimer.Minutes, ClockTimer.Seconds); Prefs.Settings.LastGame.Score = player.TotalPoint; Prefs.Save(); ClockTimer.StopTime(); UIManager.GameCompletedState(player.DataContext); }
private void UIManager_QuitClick() { ClockTimer.StopTime(); Stop(); }