Ejemplo n.º 1
0
        public void Reset()
        {
            if (PlayerScore != null)
            {
                PlayerScore.Reset();
                ComputerScore.Reset();
            }

            Board.Reset();
            PlayerSetScoreControl.HideAsync();
            HintWindow.ShowAsync(false, false, "Swipe Up to and hit New Game!");

            if (GridDeck.Items.Count > 52)
            {
                Debug.Assert(false, "Too many cards in your deck after reset!");
            }
            HintWindow.ResetScoreHistory();
            ViewCallback.Reset();
        }
Ejemplo n.º 2
0
 private void ShowHintWindowAsync(bool show, bool closeWithTimer, string message)
 {
     HintWindow.ShowAsync(show, closeWithTimer, message);
 }