Class BoardView

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

public class BoardView extends Object
Board View
  • Constructor Details

    • BoardView

      public BoardView()
  • Method Details

    • print

      public static void print(BoardInterface b, PrintWriter pw)
      Prints a Board on a PrintWriter
      Parameters:
      b - the Board to print
      pw - the PrintWriter to use
    • buildString

      public static List<String> buildString(BoardInterface b, boolean sequentialPrint)
      Builds Board string for MultipleView printing
      Parameters:
      b - Game's Board Interface
      sequentialPrint - enables sequential printing in MultipleView
      Returns:
      Board's string