Klasse ClassSelectionMenu

java.lang.Object
de.delinkedde.mobarenareborn.gui.Menu
de.delinkedde.mobarenareborn.gui.ClassSelectionMenu

public final class ClassSelectionMenu extends Menu
A menu that lets a player pick a class.

Each class is shown as a role-themed icon with its role, the viewer's current level and the ability. Clicking an icon selects the class through the SessionManager (only effective in a lobby) and closes the menu.

  • Konstruktordetails

    • ClassSelectionMenu

      public ClassSelectionMenu(@NotNull @NotNull Collection<ArenaClass> classes, @NotNull @NotNull ProgressionService progression, @NotNull @NotNull SessionManager sessions, @NotNull @NotNull UUID viewer)
      Parameter:
      classes - the classes to offer
      progression - the progression service, for the displayed level
      sessions - the session manager that records the choice
      viewer - the viewing player's unique id, for the displayed level