Class BotUnitChooserDialog

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

public class BotUnitChooserDialog extends AbstractButtonDialog
Lets the player pick any mix of one bot's units to give an order to: each unit has a checkbox under its lance, and each lance a box that ticks all of its units. MegaMek's board selects one unit at a time, so this is how a player orders, say, the Atlas and one Champion from another lance together.
See Also:
  • Constructor Details

    • BotUnitChooserDialog

      public BotUnitChooserDialog(JFrame frame, Map<String,List<BotOrdersMenuBuilder.OrderGroup>> unitsByLance)
      Parameters:
      frame - the parent frame
      unitsByLance - the bot's units, each a one-unit group, keyed by lance name in display order
  • Method Details