PIbd22_Kamcharova_K.A._Doub.../DoubleDeckerBus/Move_Strategy/IMoveableObject.cs

19 lines
460 B
C#
Raw Permalink Normal View History

2023-11-14 14:11:54 +04:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2023-11-25 14:55:27 +04:00
using DoubleDeckerbus.Drawing;
using DoubleDeckerbus.Entities;
2023-11-14 14:11:54 +04:00
2023-11-25 14:55:27 +04:00
namespace DoubleDeckerbus.Move_Strategy
2023-11-14 14:11:54 +04:00
{
public interface IMoveableObject
{
ObjectParameters? GetObjectPosition { get; }
int GetStep { get; }
bool CheckCanMove(DirectionType direction);
void MoveObject(DirectionType direction);
}
}