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