PIbd-23-Kondratev-N.D.-Gaso.../GasolineTanker/ProjectGasolineTanker/MovementStratg/IMoveableObject.cs

24 lines
486 B
C#
Raw Normal View History

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
{
ObjectParameters? GetObjectPosition { get; }
2024-10-03 01:40:53 +04:00
2024-10-03 01:16:11 +04:00
int GetStep { get; }
2024-10-03 01:40:53 +04:00
2024-10-03 01:16:11 +04:00
bool CheckCanMove(DirectionType direction);
2024-10-03 01:43:12 +04:00
2024-10-03 01:16:11 +04:00
void MoveObject(DirectionType direction);
}
2024-10-03 01:40:53 +04:00
}