예제 #1
0
    public void EndMove()
    {
        if (Hand.Count > Health.Length)
        {
            Actions.ShowPlayerCards();
            GlobalVeriables.GameState = EGameState.DropCards;
        }

        EndMoveBttn.gameObject.SetActive(false);
        HandBttn.gameObject.SetActive(false);

        ImageOfDesk.color = Color.white;

        StartCoroutine(PlayersMoveQueue.StartNextPlayer());
    }
예제 #2
0
파일: Bot.cs 프로젝트: loneNerd/Bang
    public void EndMove()
    {
        if (UsingCards.activeSelf)
        {
            foreach (Image card in UsingCards.GetComponentsInChildren <Image>())
            {
                Destroy(card.gameObject);
            }
        }

        UsingCards.SetActive(false);

        ImageOfDesk.color = Color.white;
        endMove           = true;

        StartCoroutine(PlayersMoveQueue.StartNextPlayer());
    }