diff --git a/src/break_out/controller/JSONReader.java b/src/break_out/controller/JSONReader.java index 1c2279e..75aa597 100644 --- a/src/break_out/controller/JSONReader.java +++ b/src/break_out/controller/JSONReader.java @@ -28,7 +28,7 @@ public class JSONReader { private String path; /** - * The stones stored as List> + * The stones stored as List<List<Long>> */ private List> rects = new ArrayList>(); @@ -56,7 +56,7 @@ public class JSONReader { /** * Getter for the stones of the JSON file * - * @return The List> of stones + * @return The List<List<Long>> of stones */ public List> getStonesListOfLists() { return rects; diff --git a/src/break_out/model/Ball.java b/src/break_out/model/Ball.java index ff00243..a11aa62 100644 --- a/src/break_out/model/Ball.java +++ b/src/break_out/model/Ball.java @@ -247,7 +247,7 @@ public class Ball implements IBall { /** * tests whether the ball touches any stone's hit box - * @param stones + * @param stones list of stones on the playground * @return true if the ball touches a stone */ public boolean hitsStone(ArrayList stones) { @@ -281,7 +281,7 @@ public class Ball implements IBall { /** * returns the stone which got hit, can be null - * @return + * @return the stone which got hit */ public Stone getHitStone() { return hitStone;