Added interface IDrawingObject
This commit is contained in:
parent
4e7db63b49
commit
f990882127
9
IDrawingObject.java
Normal file
9
IDrawingObject.java
Normal file
@ -0,0 +1,9 @@
|
||||
import java.awt.*;
|
||||
|
||||
public interface IDrawingObject {
|
||||
float getStep();
|
||||
void setObject(int x, int y, int width, int height);
|
||||
void moveObject(Direction direction);
|
||||
void drawingObject(Graphics2D g);
|
||||
float[] getCurrentPosition();
|
||||
}
|
Loading…
Reference in New Issue
Block a user