Пример #1
0
        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);
        }
Пример #2
0
        private void UIManager_QuitClick()
        {
            ClockTimer.StopTime();

            Stop();
        }