Add: Added Javadoc For "toStringTUI" Method In Slot.java.

This commit is contained in:
GabrieleRadice
2026-04-30 18:19:46 +02:00
parent ff6953e523
commit 6826886d4b
@@ -156,6 +156,19 @@ public class Slot implements Serializable {
}
/**
* Prints a string representation of this {@code Slot}. This specific variation is used in the {@code Game}'s
* toString to print a more detailed version for the TUI implementation.
* <p>includes:
* <li>{@link #slotId SlotId}
* <li>{@link #NUpper NUpper}
* <li>{@link #NLower NLower}
* <li>{@link #Food Food}
* </p>
* @return {@code String} - a string representation of this {@code Slot}.
* @see it.polimi.ingsw.gc14.Model.Game Game
* @see it.polimi.ingsw.gc14.Model.GamePackage.Board Board
*/
public String toStringTUI()
{
StringBuilder s = new StringBuilder();