Module technology.sola.engine
Class GuiNavigator
java.lang.Object
technology.sola.engine.graphics.gui.navigation.GuiNavigator
GuiNavigator is a class that manages navigation between
GuiNavigationScreens.-
Constructor Summary
ConstructorsConstructorDescriptionGuiNavigator(GuiDocument guiDocument) Creates an instance for aGuiDocument. -
Method Summary
Modifier and TypeMethodDescription<Element extends GuiElement<?,Element>, T extends GuiNavigatorScreenWithoutPayload<Element>>
voidNavigates to a registeredGuiNavigatorScreenWithoutPayload.<Element extends GuiElement<?,Element>, Payload, T extends GuiNavigationScreen<Element, Payload>>
voidNavigates to a registeredGuiNavigationScreenpassing it a payload.voidregister(GuiNavigationScreen<?, ?> navigationScreen) Registers aGuiNavigationScreento be navigated to.
-
Constructor Details
-
GuiNavigator
Creates an instance for aGuiDocument.- Parameters:
guiDocument- theGuiDocumentthat will update when navigating
-
-
Method Details