From 041092f121cf0a49ca9ceb9a68f546ec4b55cbe2 Mon Sep 17 00:00:00 2001 From: rxbn_ Date: Sun, 5 Jan 2020 14:46:43 +0100 Subject: [PATCH] quick fix - JavaDoc --- src/break_out/controller/JSONReader.java | 4 ++-- src/break_out/model/Ball.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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;