Class Main
java.lang.Object
javafx.application.Application
application.Main
public class Main
extends javafx.application.Application
Application entry point. Loads fonts and delegates the Stage to GameController.
-
Nested Class Summary
Nested classes/interfaces inherited from class javafx.application.Application
javafx.application.Application.Parameters -
Field Summary
Fields inherited from class javafx.application.Application
STYLESHEET_CASPIAN, STYLESHEET_MODENA -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javafx.application.Application
getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop
-
Constructor Details
-
Main
public Main()
-
-
Method Details
-
start
public void start(javafx.stage.Stage primaryStage) Automatically called by JavaFX after launch(). Loads the Noto Sans Thai font and creates the GameController.- Specified by:
startin classjavafx.application.Application- Parameters:
primaryStage- The primary Stage provided by JavaFX
-
main
Program entry point. Calls the JavaFX launch method to start the application lifecycle.- Parameters:
args- Command-line arguments (unused)
-