18 lines
399 B
C#
18 lines
399 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
namespace ContainerShip.MovementStrategy
|
|
{
|
|
public interface IMoveableObject
|
|
{
|
|
ObjectParameters? GetObjectPosition { get; }
|
|
int GetStep { get; }
|
|
bool CheckCanMove(DirectionType direction);
|
|
void MoveObject(DirectionType direction);
|
|
}
|
|
}
|