10 lines
250 B
Java
10 lines
250 B
Java
|
import java.awt.*;
|
||
|
|
||
|
public interface IDrawningObject {
|
||
|
float getStep();
|
||
|
void setObject(int x, int y, int width, int height);
|
||
|
void moveObject(Direction direction);
|
||
|
void drawningObject(Graphics2D g);
|
||
|
float[] getCurrentPosition();
|
||
|
}
|