quick fix - JavaDoc
This commit is contained in:
parent
8668f6e2b5
commit
041092f121
@ -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<List<Long>>
|
||||||
*/
|
*/
|
||||||
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<List<Long>> of stones
|
||||||
*/
|
*/
|
||||||
public List<List<Long>> getStonesListOfLists() {
|
public List<List<Long>> getStonesListOfLists() {
|
||||||
return rects;
|
return rects;
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user