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

This commit is contained in:
GabrieleRadice
2026-04-30 18:19:29 +02:00
parent 4360cf023d
commit ff6953e523
@@ -45,6 +45,14 @@ public abstract class PlayableCard implements Serializable {
public String toString() { public String toString() {
return "⎕:"; return "⎕:";
} }
/**
* Prints a string representation of this {@code PlayableCard}. This specific variation is used in the {@code Game}'s
* toString to print a more detailed version (in this specific case the two methods are equal).
* @return {@code String} - a string representation of this {@code PlayableCard}.
* @see it.polimi.ingsw.gc14.Model.Game Game
* @see it.polimi.ingsw.gc14.Model.GamePackage.Board Board
*/
public String toStringBoard() public String toStringBoard()
{ {
return "⎕:"; return "⎕:";