Exemplo n.º 1
0
    public void KillUnit(CardDisplay cardDisplay)
    {
        UnitDisplay unitDisplay = cardDisplay.UnitDisplay;

        Point position = GetUnitPosition(unitDisplay);

        Units[position.x, position.y] = null;

        unitDisplay.ToKill();
    }