Add: Added Javadoc For "toStringBoard" Method In Hunt.java.

This commit is contained in:
GabrieleRadice
2026-04-30 17:06:06 +02:00
parent b658393150
commit 8e8f170fdc
@@ -70,6 +70,17 @@ public class Hunt extends EventCard {
public EventCard clone() { public EventCard clone() {
return new Hunt(getEra(), prestigeMultiplier); return new Hunt(getEra(), prestigeMultiplier);
} }
/**
* Prints a string representation of this {@code TribeCard}. This specific variation is used in the {@code Game}'s
* toString to print a more detailed version.
* <p>includes:
* <li>{@link #prestigeMultiplier}
* </p>
* @return {@code String} - a string representation of this {@code TribeCard}.
* @see it.polimi.ingsw.gc14.Model.Cards.TribeCard TribeCard
* @see it.polimi.ingsw.gc14.Model.Game Game
*/
@Override @Override
public String toStringBoard() { public String toStringBoard() {
return super.toString()+" 1F+"+prestigeMultiplier+"PP"+" X N Hunter"; return super.toString()+" 1F+"+prestigeMultiplier+"PP"+" X N Hunter";