Package it.polimi.ingsw.Client.View
Class ShelfView
java.lang.Object
it.polimi.ingsw.Client.View.ShelfView
Implements Shelf terminal view
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionBuilds Shelf string for MultipleView Printingstatic void
print
(ShelfInterface s, PrintWriter pw) Prints a Shelf on a PrintWriter
-
Constructor Details
-
ShelfView
public ShelfView()
-
-
Method Details
-
print
Prints a Shelf on a PrintWriter- Parameters:
s
- the Shelf to printpw
- the PrintWriter to use
-
buildString
Builds Shelf string for MultipleView Printing- Parameters:
s
- Shelf Interface- Returns:
- Built string
-