2022-11-29 00:25:21 +04:00
|
|
|
import java.awt.*;
|
|
|
|
|
|
|
|
public interface IDrawningObject {
|
2022-11-29 20:49:03 +04:00
|
|
|
float Step();
|
2022-11-29 00:25:21 +04:00
|
|
|
|
|
|
|
void SetObject(int x, int y, int width, int height);
|
|
|
|
|
|
|
|
void MoveObject(Direction direction);
|
|
|
|
|
2022-11-29 20:49:03 +04:00
|
|
|
void DrawningObject(Graphics g);
|
2022-11-29 00:25:21 +04:00
|
|
|
|
|
|
|
float[] GetCurrentPosition();
|
|
|
|
}
|