java.lang.Object
technology.sola.engine.graphics.gui.navigation.GuiNavigator

@NullMarked public class GuiNavigator extends Object
GuiNavigator is a class that manages navigation between GuiNavigationScreens.
  • Constructor Details

    • GuiNavigator

      public GuiNavigator(GuiDocument guiDocument)
      Creates an instance for a GuiDocument.
      Parameters:
      guiDocument - the GuiDocument that will update when navigating
  • Method Details

    • register

      public void register(GuiNavigationScreen<?,?> navigationScreen)
      Registers a GuiNavigationScreen to be navigated to.
      Parameters:
      navigationScreen - the GuiNavigationScreen to register