From e45e662ffeab15451fee21f2ec460a082dc71465 Mon Sep 17 00:00:00 2001 From: GabrieleRadice <265572328+GabrieleRadice@users.noreply.github.com> Date: Sat, 11 Apr 2026 17:05:20 +0200 Subject: [PATCH] Add: PlayerTest.java Added Javadoc For "PrestigeValue" And "getPrestigeValue". --- src/main/java/it/polimi/ingsw/gc14/Model/Player.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/main/java/it/polimi/ingsw/gc14/Model/Player.java b/src/main/java/it/polimi/ingsw/gc14/Model/Player.java index 0f74820..a9fac03 100644 --- a/src/main/java/it/polimi/ingsw/gc14/Model/Player.java +++ b/src/main/java/it/polimi/ingsw/gc14/Model/Player.java @@ -95,19 +95,27 @@ public class Player { public ArrayList 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; }