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-09-26 20:56:35 +04:00
|
|
|
|
internal interface 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();
|
|
|
|
|
}
|
|
|
|
|
}
|