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;
|
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;
|
private int FoodValue;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Getter for the private attribute {@link #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() {
|
public int getFoodValue() {
|
||||||
return FoodValue;
|
return FoodValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The current amount of {@code Prestige} the Player possesses.
|
||||||
|
*/
|
||||||
private int PrestigeValue;
|
private int PrestigeValue;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for the private attribute {@link #PrestigeValue}.
|
||||||
|
* @return {@code int} - The amount of Prestige the player possesses.
|
||||||
|
*/
|
||||||
public int getPrestigeValue() {
|
public int getPrestigeValue() {
|
||||||
return PrestigeValue;
|
return PrestigeValue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user