Commit 08077536 authored by amir's avatar amir

generate javadoc

parent 639b27c6
...@@ -36,9 +36,9 @@ public class Player { ...@@ -36,9 +36,9 @@ public class Player {
/** /**
* gets the opponent array of coordinates and a x and y coordinate to check * gets the opponent array of coordinates and a x and y coordinate to check
* if it's blank, add a disc to the list of coordinates * if it's blank, add a disc to the list of coordinates
* @param arrOpponent * @param arrOpponent array of opponent discs
* @param x * @param x the x coordinate
* @param y * @param y the y coordinate
*/ */
public void addDisc(byte[][]arrOpponent, int x, int y){ public void addDisc(byte[][]arrOpponent, int x, int y){
if ((!containsInArray(playerCoordinate, x, y)) && (!containsInArray(arrOpponent, x, y))) if ((!containsInArray(playerCoordinate, x, y)) && (!containsInArray(arrOpponent, x, y)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment