Exemplo n.º 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());
    }
Exemplo n.º 2
0
Arquivo: Bot.cs Projeto: 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());
    }