1
0
Fork 0

quick fix - JavaDoc

master A4.1RC
rxbn_ 3 years ago
parent 8668f6e2b5
commit 041092f121
  1. 4
      src/break_out/controller/JSONReader.java
  2. 4
      src/break_out/model/Ball.java

@ -28,7 +28,7 @@ public class JSONReader {
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>>();
@ -56,7 +56,7 @@ public class JSONReader {
/**
* 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() {
return rects;

@ -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<Stone> 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;

Loading…
Cancel
Save