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

This commit is contained in:
GabrieleRadice
2026-04-29 18:20:19 +02:00
parent 7269a6cb42
commit 1af39bc558
@@ -86,6 +86,17 @@ public class CavePaintings extends EventCard {
return new CavePaintings(getEra(), NLower, NPrestigeRem, NPrestigeMul) ; return new CavePaintings(getEra(), NLower, NPrestigeRem, NPrestigeMul) ;
} }
/**
* 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; includes: {@code NLower}, {@code NUpper}, {@code NPrestigeRem} and {@code NPrestigeMul}.
* @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
* @see #NLower
* @see #NPrestigeRem
* @see #NPrestigeMul
*/
@Override @Override
public String toStringBoard() { public String toStringBoard() {
return super.toString()+" 0-"+(NLower-1)+":"+NPrestigeRem+" "+NLower+"+:"+NPrestigeMul; return super.toString()+" 0-"+(NLower-1)+":"+NPrestigeRem+" "+NLower+"+:"+NPrestigeMul;