18 lines
421 B
C#
18 lines
421 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace WarmlyShip
|
|
{
|
|
internal interface IDrawningObject
|
|
{
|
|
public float Step { get; }
|
|
void SetObject(int x, int y, int width, int height);
|
|
void MoveObject(Direction direction);
|
|
void DrawningObject(Graphics g);
|
|
(float Left, float Right, float Top, float Bottom) GetCurrentPosition();
|
|
}
|
|
}
|