public class SpaceInvadersApp
extends com.almasb.fxgl.app.GameApplication
| Constructor and Description |
|---|
SpaceInvadersApp() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initAchievements() |
protected void |
initGame() |
protected void |
initGameVars(Map<String,Object> vars) |
protected void |
initInput() |
protected void |
initSettings(com.almasb.fxgl.settings.GameSettings settings) |
protected void |
initUI() |
static void |
main(String[] args) |
void |
moveLeft() |
void |
moveRight() |
void |
onBonusPickup(BonusPickupEvent event) |
void |
onEnemyKilled(GameEvent event) |
void |
onEnemyReachedEnd(GameEvent event) |
void |
onEnemyReachedEndDSL(GameEvent event) |
void |
onPlayerGotHit(GameEvent event) |
protected void |
onUpdate(double tpf) |
protected void |
preInit() |
void |
shoot() |
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, initAssets, initPhysics, loadState, onPostUpdate, removeExitListener, removePlayStateListener, saveState, start, startNewGame, stop, tpfprotected void initSettings(com.almasb.fxgl.settings.GameSettings settings)
initSettings in class com.almasb.fxgl.app.GameApplicationprotected void initAchievements()
initAchievements in class com.almasb.fxgl.app.GameApplicationprotected void initInput()
initInput in class com.almasb.fxgl.app.GameApplicationpublic void moveLeft()
public void moveRight()
public void shoot()
protected void preInit()
preInit in class com.almasb.fxgl.app.GameApplicationprotected void initGameVars(Map<String,Object> vars)
initGameVars in class com.almasb.fxgl.app.GameApplicationprotected void initGame()
initGame in class com.almasb.fxgl.app.GameApplicationprotected void initUI()
initUI in class com.almasb.fxgl.app.GameApplicationprotected void onUpdate(double tpf)
onUpdate in class com.almasb.fxgl.app.GameApplicationpublic void onPlayerGotHit(GameEvent event)
public void onEnemyKilled(GameEvent event)
public void onEnemyReachedEnd(GameEvent event)
public void onEnemyReachedEndDSL(GameEvent event)
public void onBonusPickup(BonusPickupEvent event)
public static void main(String[] args)
Copyright © 2017. All rights reserved.