12 lines
241 B
C#
12 lines
241 B
C#
|
namespace ElectricLocomotive;
|
|||
|
|
|||
|
public interface IMoveableObject
|
|||
|
{
|
|||
|
ObjectParameters? GetObjectPosition { get; }
|
|||
|
|
|||
|
int GetStep { get; }
|
|||
|
|
|||
|
bool CheckCanMove(DirectionType direction);
|
|||
|
|
|||
|
void MoveObject(DirectionType direction);
|
|||
|
}
|