Class RandomArmyRatGenTab

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
megamek.client.ui.dialogs.randomArmy.RandomArmyRatGenTab
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class RandomArmyRatGenTab extends JPanel
See Also:
  • Field Details

    • generatedRAT

      protected UnitTable generatedRAT
  • Constructor Details

  • Method Details

    • getFaction

      public FactionRecord getFaction()
      Returns:
      the faction, or command, the table was built for; null when none is selected
    • getYear

      public int getYear()
      Returns:
      the year the table was built for
    • getRating

      public String getRating()
      Returns:
      the equipment rating the table was built for
    • rememberSelections

      public void rememberSelections()
      Saves this tab's choices so the dialog reopens on them.
    • generateMekSummaries

      public List<MekSummary> generateMekSummaries()
    • setGameOptions

      public void setGameOptions(GameOptions gameOptions)
    • setSkillGenerator

      default void setSkillGenerator(AbstractSkillGenerator skillGenerator)
      Uses the given skill generator for generated units.

      By default, this method does nothing.