Exemplo n.º 1
0
    public void EndTurn()
    {
        int turnPlayer = board.turn % 2;

        if (turnPlayer == localPlayerNum)
        {
            informer.EndTurn();
        }

        foreach (CardState card in board.playOrder)
        {
            card.TryTrigger(EffectTrigger.END_OF_TURN, this, board, new Targets(turnPlayer));
        }
        board.turn += 1;
        StartTurn();
    }