Serialized Form

  • Package ui

    • Class ui.GameBoard

      class GameBoard extends JPanel implements Serializable
      • Serialized Fields

        • boardListener
          PropertyChangeListener boardListener
          Listener to register with model to respond to board state changes.
        • controller
          InteractiveGameController controller
        • model
          GameModel model
        • showPaths
          boolean showPaths
          Whether to render actors' "guidance paths" for debugging purposes.
        • tileGrid
          Tile[][] tileGrid
          2D array of Tile objects that comprise the game's background
    • Class ui.GameFrame

      class GameFrame extends JFrame implements Serializable
      • Serialized Fields

        • gameBoard
          GameBoard gameBoard
          The component for displaying the current game state and responding to user input related to game actions.
        • height
          int height
          The number of rows in maps played in this window.
        • model
          GameModel model
          The state and logic of the current game being played in this window.
        • randomness
          Randomness randomness
          The source of reproducible randomness to use when creating new games via this window.
        • scoreLabel
          ScoreLabel scoreLabel
          The label for showing the score and lives remaining of the current game being played in this window.
        • width
          int width
          The number of columns in maps played in this window.
        • withAI
          boolean withAI
          Whether the player actor should be controlled by user input or by an AI in games played in this window.
    • Class ui.PlayPauseButton

      class PlayPauseButton extends JButton implements Serializable
      • Serialized Fields

        • controller
          InteractiveGameController controller
          The interaction controller whose state determines this button's text and enabled status and who will receive commands from this button.
    • Class ui.ScoreLabel

      class ScoreLabel extends JLabel implements Serializable
      • Serialized Fields

        • model
          GameModel model
          The model whose score and lives remaining we should display. May be null, in which case no score or lives values are displayed.