Example #1
0
    private void MoveTo(Transform placeTransform)
    {
        IEnumerable <PlaceOnBattlefield> neighbouringPlaces = BattlefieldUnits.NeighbouringPlaces(ActiveUnit);

        BattlefieldUnits.MoveTo(placeTransform, ActiveUnit);
        foreach (PlaceOnBattlefield place in neighbouringPlaces)
        {
            place.SetUntargetable();
        }
        AdvanceUnit();
    }