Beispiel #1
0
    public void UseHeroActive(int playerNum, Targets targets)
    {
        int turnPlayer = board.turn % 2;

        if (turnPlayer != playerNum)
        {
            Debug.LogError("Tried activating opponents hero power!!");
            return;
        }
        informer.UseHeroActive(targets);
        board.hero[playerNum].TryActivate(this, board, targets);
    }