Class GameViewController
java.lang.Object
org.comp2059.pong.view.GameViewController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinstallKeyboardControls(javafx.stage.Stage stage) Connects keyboard controls after the game scene is set on the stage.voidstop()Releases the JavaFX timer when the application closes.
-
Constructor Details
-
GameViewController
public GameViewController()
-
-
Method Details
-
installKeyboardControls
public void installKeyboardControls(javafx.stage.Stage stage) Connects keyboard controls after the game scene is set on the stage. -
stop
public void stop()Releases the JavaFX timer when the application closes.
-