java.lang.Object
javafx.application.Application
project.pong.PongApp
public class PongApp
extends javafx.application.Application
The PongApp class is the main entry point of the Pong game application.
-
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
-
PongApp
public PongApp()
-
-
Method Details
-
main
The main method launches the application.- Parameters:
args- The command-line arguments.
-
start
The start method initializes the application.- Specified by:
startin classjavafx.application.Application- Parameters:
stage- The primary stage for the application.- Throws:
IOException- If an I/O error occurs.
-