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

This commit is contained in:
GabrieleRadice
2026-04-30 17:45:04 +02:00
parent a3e415afda
commit 8b8f565eb1
@@ -64,6 +64,17 @@ public abstract class EventCard extends TribeCard {
public String toString() {
return super.toString()+" "+type.toString();
}
/**
* Prints a string representation of this {@code EventCard}. This specific variation is used in the {@code Game}'s
* toString to print a more detailed version.
* <p>Includes:
* <li>{@link #type Type}
* </p>
* @return {@code String} - a string representation of this {@code EventCard}.
* @see it.polimi.ingsw.gc14.Model.Game Game
* @see it.polimi.ingsw.gc14.Model.GamePackage.Board Board
*/
@Override
public String toStringBoard() {
return super.toString()+" "+type.toString();