PIbd-23_Vrazhkin_S_A_Electr.../lab1/MovementStrategy/IMoveableObject.cs

12 lines
241 B
C#
Raw Normal View History

2023-10-03 11:53:51 +04:00
namespace ElectricLocomotive;
public interface IMoveableObject
{
ObjectParameters? GetObjectPosition { get; }
int GetStep { get; }
bool CheckCanMove(DirectionType direction);
void MoveObject(DirectionType direction);
}