23 lines
590 B
C#
23 lines
590 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using ElectricLocomotive;
|
|
using ProjectElectricLocomotive.DrawingObjects;
|
|
|
|
namespace ProjectElectricLocomotive.MovementStrategy
|
|
{
|
|
public interface IMoveableObject
|
|
{
|
|
ObjectParameters? GetObjectPosition { get; }
|
|
|
|
int GetStep { get; }
|
|
/// <param name="direction"></param>
|
|
bool CheckCanMove(Direction direction);
|
|
/// <param name="direction">Направление</param>
|
|
void MoveObject(Direction direction);
|
|
|
|
}
|
|
}
|