Merge pull request #16

Add: PlayerTest.java Added Javadoc For "PrestigeValue" And "getPrestigeValue".
This commit is contained in:
GabrieleRadice
2026-04-11 17:06:49 +02:00
committed by GitHub
@@ -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;
}