Class FloodDialog

All Implemented Interfaces:
WindowListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public final class FloodDialog extends AbstractButtonDialog
See Also:
  • Constructor Details

    • FloodDialog

      public FloodDialog(JFrame frame)
      Constructs a modal LevelChangeDialog with frame as parent.
  • Method Details

    • createCenterPane

      protected Container createCenterPane()
      Description copied from class: AbstractDialog
      This is used to create the dialog's center pane
      Specified by:
      createCenterPane in class AbstractDialog
      Returns:
      the center pane of the dialog
    • getLevelChange

      public int getLevelChange()
      Returns the level change entered by the user or 0, if it cannot be parsed.
    • getRemoveTerrain

      public boolean getRemoveTerrain()
      Returns if all newly submerged hexes should have their terrain removed.