예제 #1
0
    void EndTurn()
    {
        cardPhase = false;
        cardHolder.HideCards();
        Debug.Log("end card select");

        if (attackTurn)
        {
            enemy.DoDamage(turnDamage);
        }
        else if (defendTurn)
        {
            player.DoDamage(30 - turnDamage);
        }

        animationTime = AnimationTime();
        StartCoroutine(animationTime);
    }