Class ShelfView

java.lang.Object
it.polimi.ingsw.Client.View.ShelfView

public class ShelfView extends Object
Implements Shelf terminal view
  • Constructor Details

    • ShelfView

      public ShelfView()
  • Method Details

    • print

      public static void print(ShelfInterface s, PrintWriter pw)
      Prints a Shelf on a PrintWriter
      Parameters:
      s - the Shelf to print
      pw - the PrintWriter to use
    • buildString

      public static List<String> buildString(ShelfInterface s)
      Builds Shelf string for MultipleView Printing
      Parameters:
      s - Shelf Interface
      Returns:
      Built string