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

12 lines
241 B
C#
Raw Permalink 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);
}