Class PickMarker

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

final class PickMarker extends KDialog
Class PickMarker allows a player to pick a legion marker, either as initial marker or for splitting a legion.
Author:
David Ripton, Clemens Katzer
  • Field Details

  • Constructor Details

  • Method Details

    • cleanup

      private void cleanup(String pickedMarkerId)
      If parent != null, it's about split. Make the GUI initiate the dialog where user chooses creatures to split into new marker. If parent is null, it's about the initial split, thus we insist on getting one, and once one is selected, make the client send the assignFirstMarker to server.
      Parameters:
      pickedMarkerId - The markerId the user has choosen, or null if dialog was closed without choosing.