2022-09-26 18:28:05 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Artilleries
|
|
|
|
|
{
|
2022-11-21 19:58:14 +04:00
|
|
|
|
internal interface IDrawingObject : IEquatable<IDrawingObject>
|
2022-09-26 18:28:05 +04:00
|
|
|
|
{
|
|
|
|
|
public float Step { get; }
|
|
|
|
|
void SetObject(int x, int y, int width, int height);
|
|
|
|
|
void MoveObject(Direction direction);
|
|
|
|
|
void DrawingObject(Graphics g);
|
|
|
|
|
(float Left, float Right, float Top, float Bottom) GetCurrentPosition();
|
2022-11-04 16:48:55 +04:00
|
|
|
|
string GetInfo();
|
2022-09-26 18:28:05 +04:00
|
|
|
|
}
|
|
|
|
|
}
|