Add: Added Javadoc For "toString" Method In Game.java.
This commit is contained in:
@@ -703,6 +703,16 @@ public class Game implements Serializable {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prints a string representation of the {@code Game}. Used in the TUI implementation to draw:
|
||||
* <li>{@link it.polimi.ingsw.gc14.Model.GamePackage.Board Board}
|
||||
* <li>{@link it.polimi.ingsw.gc14.Model.Player Players}
|
||||
* <li>{@link #getUpperListTribeCards() Upper TribeCard List} <li>{@link #getUpperListBuilding() Upper Building List}
|
||||
* <li>{@link #getLowerListTribeCards() Lower TribeCard List} <li>{@link #getLowerListBuilding() Lower Building List}
|
||||
* <li>{@link it.polimi.ingsw.gc14.Model.OrderLogicCard Offer Track}
|
||||
*
|
||||
* @return {@code String} - a string representation of the {@code Game}.
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
var table = new AsciiTable(BorderStyle.UNICODE, slotMap.size());
|
||||
|
||||
Reference in New Issue
Block a user