PIbd-23_Vrazhkin_S_A_Electr.../lab1/MovementStrategy/IMoveableObject.cs
2023-10-17 13:49:31 +04:00

12 lines
241 B
C#

namespace ElectricLocomotive;
public interface IMoveableObject
{
ObjectParameters? GetObjectPosition { get; }
int GetStep { get; }
bool CheckCanMove(DirectionType direction);
void MoveObject(DirectionType direction);
}