1
0
Fork 0

quick fix - JavaDoc

This commit is contained in:
rxbn_ 2020-01-05 14:46:43 +01:00
parent 8668f6e2b5
commit 041092f121
2 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ public class JSONReader {
private String path; private String path;
/** /**
* The stones stored as List<List<Long>> * The stones stored as List&lt;List&lt;Long&gt;&gt;
*/ */
private List<List<Long>> rects = new ArrayList<List<Long>>(); private List<List<Long>> rects = new ArrayList<List<Long>>();
@ -56,7 +56,7 @@ public class JSONReader {
/** /**
* Getter for the stones of the JSON file * Getter for the stones of the JSON file
* *
* @return The List<List<Long>> of stones * @return The List&lt;List&lt;Long&gt;&gt; of stones
*/ */
public List<List<Long>> getStonesListOfLists() { public List<List<Long>> getStonesListOfLists() {
return rects; return rects;

View File

@ -247,7 +247,7 @@ public class Ball implements IBall {
/** /**
* tests whether the ball touches any stone's hit box * 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 * @return true if the ball touches a stone
*/ */
public boolean hitsStone(ArrayList<Stone> stones) { public boolean hitsStone(ArrayList<Stone> stones) {
@ -281,7 +281,7 @@ public class Ball implements IBall {
/** /**
* returns the stone which got hit, can be null * returns the stone which got hit, can be null
* @return * @return the stone which got hit
*/ */
public Stone getHitStone() { public Stone getHitStone() {
return hitStone; return hitStone;