Add: Added Javadoc For "toStringTUI" Method In Slot.java.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user