public void EndTurnEnemy() { turn = Turn.player; myDeck.myMana.StartTurn(); StartCoroutine(myDeck.GetNewCard(1)); EffectManager.instance.TriggerEffects(false); AudioManager.instance.PlayEndTurnSound(); }
public void EndTurn() { if (turn == Turn.player) { turn = Turn.enemy; enemyCurrentDeck.myMana.StartTurn(); StartCoroutine(enemyCurrentDeck.GetNewCard(1)); enemyAI.StartCoroutine(enemyAI.StartEnemyTurn()); EffectManager.instance.TriggerEffects(false); AudioManager.instance.PlayEndTurnSound(); } }