예제 #1
0
        public void RestartPressed()
        {
            //Restarts game
            deck.Clear();
            player.Clear();
            house.Clear();
            gameButtons[2].gameObject.SetActive(false);
            darkScreen.SetActive(false);

            statusTxt.gameObject.SetActive(false);
            playerTxt.gameObject.SetActive(false);
            houseTxt.gameObject.SetActive(false);

            deck.Populate();
            deck.Shuffle();
            currentPhase = dealPhase;
            DealCards();
        }