13 lines
289 B
Java
13 lines
289 B
Java
import java.awt.*;
|
|
|
|
public interface IDrawingObject
|
|
{
|
|
float getStep();
|
|
void SetObject(int x, int y, int width, int height);
|
|
void MoveObject(Direction direction);
|
|
void DrawningObject(Graphics2D g);
|
|
Point GetLeftTop();
|
|
Point GetRightBottom();
|
|
String GetInfo();
|
|
}
|