PIbd22_NikiforovaMV_Contain.../ContainerShip/IMovableObject.cs

20 lines
401 B
C#
Raw Normal View History

2023-11-25 12:44:21 +04:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ContainerShip.MovementStrategy
{
public interface IMoveableObject
{
2023-12-16 11:10:10 +04:00
2023-11-25 12:44:21 +04:00
ObjectParameters? GetObjectPosition { get; }
int GetStep { get; }
bool CheckCanMove(DirectionType direction);
void MoveObject(DirectionType direction);
}
}