diff --git a/src/break_out/model/ILevel.java b/src/break_out/model/ILevel.java new file mode 100644 index 0000000..2142b2b --- /dev/null +++ b/src/break_out/model/ILevel.java @@ -0,0 +1,8 @@ +package break_out.model; + +public interface ILevel { + // Exercise 1 + public Ball getBall(); + public Paddle getPaddleTop(); + public Paddle getPaddleBottom(); +} \ No newline at end of file diff --git a/src/break_out/model/IPaddle.java b/src/break_out/model/IPaddle.java new file mode 100644 index 0000000..de0cae9 --- /dev/null +++ b/src/break_out/model/IPaddle.java @@ -0,0 +1,17 @@ +package break_out.model; + +import java.awt.*; + +public interface IPaddle { + + // Exercise 2 + public Position getPosition(); + public void setPosition(Position position); + public Color getColor(); + public void setColor(Color color); + public double getWidth(); + public void setWidth(double width); + public double getHeight(); + public void setHeight(double height); + +} \ No newline at end of file