18 lines
435 B
C#
18 lines
435 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ElectricLocomotive
|
|
{
|
|
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();
|
|
}
|
|
}
|