Package net.minheur.potoflux.screen
Class FXLoadingScreen
java.lang.Object
net.minheur.potoflux.screen.FXLoadingScreen
Potoflux's loading screen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Shuts up the loading screen, mission endedvoidsetup()Setups the loading screen, makes the stage, labels and layoutvoidshow()Displays thestagevoidupdateStage(String text) Update what is currently loading
-
Constructor Details
-
FXLoadingScreen
public FXLoadingScreen()
-
-
Method Details
-
setup
public void setup()Setups the loading screen, makes the stage, labels and layout -
show
public void show()Displays thestage -
updateStage
Update what is currently loading- Parameters:
text- to display instageLabel
-
close
public void close()Shuts up the loading screen, mission ended
-