27 lines
488 B
C#
Raw Normal View History

2024-10-03 00:19:45 +03:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ProjectGasolineTanker.Drawings;
using ProjectGasolineTanker.Entities;
namespace ProjectGasolineTanker.MovementStratg
{
public interface IMoveableObject
{
2024-10-03 00:24:41 +03:00
2024-10-03 00:19:45 +03:00
ObjectParameters? GetObjectPosition { get; }
int GetStep { get; }
bool CheckCanMove(DirectionType direction);
2024-10-03 00:24:41 +03:00
2024-10-03 00:19:45 +03:00
void MoveObject(DirectionType direction);
2024-10-03 00:24:41 +03:00
2024-10-03 00:19:45 +03:00
}
}