2024-10-03 01:16:11 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2024-10-03 01:40:53 +04:00
|
|
|
|
using ProjectGasolineTanker.Drawings;
|
|
|
|
|
using ProjectGasolineTanker.Entities;
|
2024-10-03 01:16:11 +04:00
|
|
|
|
|
2024-10-03 01:40:53 +04:00
|
|
|
|
namespace ProjectGasolineTanker.MovementStratg
|
2024-10-03 01:16:11 +04:00
|
|
|
|
{
|
2024-10-03 01:40:53 +04:00
|
|
|
|
|
2024-10-03 01:16:11 +04:00
|
|
|
|
public interface IMoveableObject
|
|
|
|
|
{
|
2024-10-03 01:44:06 +04:00
|
|
|
|
|
2024-10-03 01:16:11 +04:00
|
|
|
|
ObjectParameters? GetObjectPosition { get; }
|
2024-10-03 01:40:53 +04:00
|
|
|
|
|
2024-10-03 01:46:41 +04:00
|
|
|
|
int GetStep { get; }
|
|
|
|
|
|
2024-10-03 01:16:11 +04:00
|
|
|
|
bool CheckCanMove(DirectionType direction);
|
2024-10-03 01:44:06 +04:00
|
|
|
|
|
2024-10-03 01:16:11 +04:00
|
|
|
|
void MoveObject(DirectionType direction);
|
2024-10-03 01:44:06 +04:00
|
|
|
|
|
|
|
|
|
|
2024-10-03 01:16:11 +04:00
|
|
|
|
}
|
2024-10-03 01:40:53 +04:00
|
|
|
|
}
|