using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProjectMonorail.MovementStrategy; public interface IMovableObjects { /// /// Получение координаты объекта /// ObjectParameters? GetObjectPosition { get; } /// /// Шаг объекта /// int GetStep { get; } /// /// Попытка переместить объект в заданном направлении /// /// Направление /// bool TryMoveObject(MovementDirection direction); }