Package it.polimi.ingsw.Client.View
Class BoardView
java.lang.Object
it.polimi.ingsw.Client.View.BoardView
Board View
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildString
(BoardInterface b, boolean sequentialPrint) Builds Board string for MultipleView printingstatic void
print
(BoardInterface b, PrintWriter pw) Prints a Board on a PrintWriter
-
Constructor Details
-
BoardView
public BoardView()
-
-
Method Details
-
print
Prints a Board on a PrintWriter- Parameters:
b
- the Board to printpw
- the PrintWriter to use
-
buildString
Builds Board string for MultipleView printing- Parameters:
b
- Game's Board InterfacesequentialPrint
- enables sequential printing in MultipleView- Returns:
- Board's string
-