diff --git a/javadoc/Figure.html b/javadoc/Figure.html index e437d96..7c024ca 100644 --- a/javadoc/Figure.html +++ b/javadoc/Figure.html @@ -1,7 +1,7 @@ - + Figure diff --git a/javadoc/Game.html b/javadoc/Game.html index 8b54c45..3eb4027 100644 --- a/javadoc/Game.html +++ b/javadoc/Game.html @@ -1,7 +1,7 @@ - + Game diff --git a/javadoc/GameTest.html b/javadoc/GameTest.html index 265da78..8cb36f7 100644 --- a/javadoc/GameTest.html +++ b/javadoc/GameTest.html @@ -1,7 +1,7 @@ - + GameTest diff --git a/javadoc/Gameboard.html b/javadoc/Gameboard.html index e34e492..f46c139 100644 --- a/javadoc/Gameboard.html +++ b/javadoc/Gameboard.html @@ -1,7 +1,7 @@ - + Gameboard diff --git a/javadoc/GameboardTest.html b/javadoc/GameboardTest.html index f64ce17..ea487aa 100644 --- a/javadoc/GameboardTest.html +++ b/javadoc/GameboardTest.html @@ -1,7 +1,7 @@ - + GameboardTest diff --git a/javadoc/Player.html b/javadoc/Player.html index 0f6e9ae..1c0a2c1 100644 --- a/javadoc/Player.html +++ b/javadoc/Player.html @@ -1,7 +1,7 @@ - + Player @@ -113,7 +113,9 @@ loadScripts(document, 'script');
boolean
checkGameWin(ArrayList<Figure> figures)
-
 
+
+
Checks if a Player has won the game with the current play
+
int
choose(ArrayList<Integer> usableFigures)
@@ -121,7 +123,9 @@ loadScripts(document, 'script');
int
rollDice()
-
 
+
+
Rolls the dice - Generates a random Number in the range of 1 - 6
+
@@ -160,6 +164,7 @@ loadScripts(document, 'script');

rollDice

public int rollDice()
+
Rolls the dice - Generates a random Number in the range of 1 - 6
Returns:
value of the dice
@@ -170,6 +175,7 @@ loadScripts(document, 'script');

checkGameWin

public boolean checkGameWin(ArrayList<Figure> figures)
+
Checks if a Player has won the game with the current play
Parameters:
figures - figures of the current Player
diff --git a/javadoc/PlayerTest.html b/javadoc/PlayerTest.html index e55b5f5..36120b4 100644 --- a/javadoc/PlayerTest.html +++ b/javadoc/PlayerTest.html @@ -1,7 +1,7 @@ - + PlayerTest diff --git a/javadoc/allclasses-index.html b/javadoc/allclasses-index.html index eef8946..bf261bd 100644 --- a/javadoc/allclasses-index.html +++ b/javadoc/allclasses-index.html @@ -1,7 +1,7 @@ - + All Classes and Interfaces diff --git a/javadoc/allpackages-index.html b/javadoc/allpackages-index.html index f5f01e2..8380a60 100644 --- a/javadoc/allpackages-index.html +++ b/javadoc/allpackages-index.html @@ -1,7 +1,7 @@ - + All Packages diff --git a/javadoc/help-doc.html b/javadoc/help-doc.html index 1e6d10c..21c6121 100644 --- a/javadoc/help-doc.html +++ b/javadoc/help-doc.html @@ -1,7 +1,7 @@ - + API Help diff --git a/javadoc/index-files/index-1.html b/javadoc/index-files/index-1.html index eb36fab..3441ac2 100644 --- a/javadoc/index-files/index-1.html +++ b/javadoc/index-files/index-1.html @@ -1,7 +1,7 @@ - + C-Index @@ -65,7 +65,9 @@ loadScripts(document, 'script');
Checks if the Player has figures in the base (off gameboard)
checkGameWin(ArrayList<Figure>) - Method in class Player
-
 
+
+
Checks if a Player has won the game with the current play
+
choose(ArrayList<Integer>) - Method in class Player
Get the user input on witch figure the user wants to move
diff --git a/javadoc/index-files/index-2.html b/javadoc/index-files/index-2.html index 8b920e2..0c0bbe5 100644 --- a/javadoc/index-files/index-2.html +++ b/javadoc/index-files/index-2.html @@ -1,7 +1,7 @@ - + F-Index diff --git a/javadoc/index-files/index-3.html b/javadoc/index-files/index-3.html index 7fb9e1b..ae33260 100644 --- a/javadoc/index-files/index-3.html +++ b/javadoc/index-files/index-3.html @@ -1,7 +1,7 @@ - + G-Index diff --git a/javadoc/index-files/index-4.html b/javadoc/index-files/index-4.html index ce7c12e..0e296a0 100644 --- a/javadoc/index-files/index-4.html +++ b/javadoc/index-files/index-4.html @@ -1,7 +1,7 @@ - + I-Index diff --git a/javadoc/index-files/index-5.html b/javadoc/index-files/index-5.html index 356eb60..cf031da 100644 --- a/javadoc/index-files/index-5.html +++ b/javadoc/index-files/index-5.html @@ -1,7 +1,7 @@ - + M-Index diff --git a/javadoc/index-files/index-6.html b/javadoc/index-files/index-6.html index 9324022..e49e12c 100644 --- a/javadoc/index-files/index-6.html +++ b/javadoc/index-files/index-6.html @@ -1,7 +1,7 @@ - + P-Index diff --git a/javadoc/index-files/index-7.html b/javadoc/index-files/index-7.html index b9c003d..066470d 100644 --- a/javadoc/index-files/index-7.html +++ b/javadoc/index-files/index-7.html @@ -1,7 +1,7 @@ - + R-Index @@ -53,7 +53,9 @@ loadScripts(document, 'script');

R

rollDice() - Method in class Player
-
 
+
+
Rolls the dice - Generates a random Number in the range of 1 - 6
+
C F G I M P R S T 
All Classes and Interfaces|All Packages diff --git a/javadoc/index-files/index-8.html b/javadoc/index-files/index-8.html index ad786b8..918d618 100644 --- a/javadoc/index-files/index-8.html +++ b/javadoc/index-files/index-8.html @@ -1,7 +1,7 @@ - + S-Index diff --git a/javadoc/index-files/index-9.html b/javadoc/index-files/index-9.html index 42d25af..6e079c5 100644 --- a/javadoc/index-files/index-9.html +++ b/javadoc/index-files/index-9.html @@ -1,7 +1,7 @@ - + T-Index diff --git a/javadoc/index.html b/javadoc/index.html index 9e9e41b..a903e5e 100644 --- a/javadoc/index.html +++ b/javadoc/index.html @@ -1,7 +1,7 @@ - + Generated Documentation (Untitled) diff --git a/javadoc/overview-tree.html b/javadoc/overview-tree.html index 081f57a..99409e7 100644 --- a/javadoc/overview-tree.html +++ b/javadoc/overview-tree.html @@ -1,7 +1,7 @@ - + Class Hierarchy diff --git a/javadoc/package-summary.html b/javadoc/package-summary.html index 5241f11..2125d57 100644 --- a/javadoc/package-summary.html +++ b/javadoc/package-summary.html @@ -1,7 +1,7 @@ - + Unnamed Package diff --git a/javadoc/package-tree.html b/javadoc/package-tree.html index 27e5bd3..2f15e3b 100644 --- a/javadoc/package-tree.html +++ b/javadoc/package-tree.html @@ -1,7 +1,7 @@ - + Class Hierarchy diff --git a/src/main/java/Player.java b/src/main/java/Player.java index 5346be7..8de383d 100644 --- a/src/main/java/Player.java +++ b/src/main/java/Player.java @@ -21,6 +21,7 @@ public class Player { } /** + * Rolls the dice - Generates a random Number in the range of 1 - 6 * @return value of the dice */ public int rollDice() { @@ -28,6 +29,7 @@ public class Player { } /** + * Checks if a Player has won the game with the current play * @param figures figures of the current Player * @return true if Player has won */