dop zadanie

This commit is contained in:
ValAnn 2023-10-13 08:58:44 +04:00
parent 397e330ef0
commit 369cc5fd39
2 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection.Metadata.Ecma335;
using System.Text;
using System.Threading.Tasks;
using DumpTruck.DrawningObjects;
@ -33,5 +34,6 @@ namespace DumpTruck.MovementStrategy
_drawningCar?.CanMove(direction) ?? false;
public void MoveObject(DirectionType direction) =>
_drawningCar?.MoveTransport(direction);
}
}

View File

@ -32,5 +32,8 @@ namespace DumpTruckr.MovementStrategy
/// </summary>
/// <param name="direction">Направление</param>
void MoveObject(DirectionType direction);
}
}