diff --git a/src/main/java/it/polimi/ingsw/gc14/Model/Slot.java b/src/main/java/it/polimi/ingsw/gc14/Model/Slot.java index 456ee1a..5ec72db 100644 --- a/src/main/java/it/polimi/ingsw/gc14/Model/Slot.java +++ b/src/main/java/it/polimi/ingsw/gc14/Model/Slot.java @@ -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. + *

includes: + *

  • {@link #slotId SlotId} + *
  • {@link #NUpper NUpper} + *
  • {@link #NLower NLower} + *
  • {@link #Food Food} + *

    + * @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();