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

18 lines
438 B
C#
Raw 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;
using DoubleDeckerbus.DrawingObjects;
namespace DoubleDeckerbus.MovementStrategy
{
public interface IMoveableObject
{
ObjectParameters? GetObjectPosition { get; }
int GetStep { get; }
bool CheckCanMove(DirectionType direction);
void MoveObject(DirectionType direction);
}
}