- java.lang.Object
-
- javafx.application.Application
-
- com.almasb.fxgl.app.GameApplication
-
- com.almasb.fxglgames.pong.PongApp
-
-
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
| Constructor and Description |
PongApp() |
-
Method Summary
-
Methods inherited from class com.almasb.fxgl.app.GameApplication
addExitListener, addPlayStateListener, exit, getAppBounds, getAssetLoader, getAudioPlayer, getDisplay, getEventBus, getExceptionHandler, getExecutor, getGameplay, getGameScene, getGameState, getGameWorld, getHeight, getInput, getMasterTimer, getMenuListener, getNet, getNotificationService, getPhysicsWorld, getSettings, getStateMachine, getTick, getUIFactory, getWidth, init, initAchievements, initAssets, loadState, onPostUpdate, removeExitListener, removePlayStateListener, saveState, start, startNewGame, stop, tpf
-
Methods inherited from class javafx.application.Application
getHostServices, getParameters, getUserAgentStylesheet, launch, launch, notifyPreloader, setUserAgentStylesheet
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
preInit
protected void preInit()
- Overrides:
preInit in class com.almasb.fxgl.app.GameApplication
-
initUI
protected void initUI()
- Overrides:
initUI in class com.almasb.fxgl.app.GameApplication
-
stopBat
public void stopBat()
-
stopBat2
public void stopBat2()
Copyright © 2017. All rights reserved.