Package ui

Class GameBoard

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class GameBoard extends JPanel
See Also:
  • Field Details Link icon

    • PREFERRED_TILE_SIZE Link icon

      public static final int PREFERRED_TILE_SIZE
      Tile size (width and height) used to compute the preferred display size of a game board [pixels].
      See Also:
    • tileGrid Link icon

      private Tile[][] tileGrid
      2D array of Tile objects that comprise the game's background
    • model Link icon

      private GameModel model
    • controller Link icon

      private final InteractiveGameController controller
    • showPaths Link icon

      private final boolean showPaths
      Whether to render actors' "guidance paths" for debugging purposes.
    • boardListener Link icon

      private final PropertyChangeListener boardListener
      Listener to register with model to respond to board state changes.
  • Constructor Details Link icon

    • GameBoard Link icon

      public GameBoard(GameModel model, boolean showPaths)
  • Method Details Link icon