Merge pull request #16
Add: PlayerTest.java Added Javadoc For "PrestigeValue" And "getPrestigeValue".
This commit is contained in:
@@ -95,19 +95,27 @@ public class Player {
|
||||
public ArrayList <Hunter> hunters;
|
||||
|
||||
/**
|
||||
* The current amount of {@code food} the Player possesses.
|
||||
* The current amount of {@code Food} the Player possesses.
|
||||
*/
|
||||
private int FoodValue;
|
||||
|
||||
/**
|
||||
* Getter for the private attribute {@link #FoodValue}.
|
||||
* @return {@code int} - The amount of food the player possesses.
|
||||
* @return {@code int} - The amount of Food the player possesses.
|
||||
*/
|
||||
public int getFoodValue() {
|
||||
return FoodValue;
|
||||
}
|
||||
|
||||
/**
|
||||
* The current amount of {@code Prestige} the Player possesses.
|
||||
*/
|
||||
private int PrestigeValue;
|
||||
|
||||
/**
|
||||
* Getter for the private attribute {@link #PrestigeValue}.
|
||||
* @return {@code int} - The amount of Prestige the player possesses.
|
||||
*/
|
||||
public int getPrestigeValue() {
|
||||
return PrestigeValue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user