public class PacmanApp
extends com.almasb.fxgl.app.GameApplication
| Modifier and Type | Field and Description |
|---|---|
static int |
BLOCK_SIZE |
static int |
MAP_SIZE |
| Constructor and Description |
|---|
PacmanApp() |
| Modifier and Type | Method and Description |
|---|---|
com.almasb.fxgl.ai.pathfinding.AStarGrid |
getGrid() |
com.almasb.fxgl.entity.GameEntity |
getPlayer() |
PlayerControl |
getPlayerControl() |
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 |
onCoinPickup() |
void |
onPlayerKilled() |
protected void |
onPostUpdate(double tpf) |
addExitListener, addPlayStateListener, addUpdateListener, 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, initPhysics, loadState, onPausedUpdate, onUpdate, preInit, removeExitListener, removePlayStateListener, removeUpdateListener, saveState, start, startNewGame, stop, tpfpublic static final int BLOCK_SIZE
public static final int MAP_SIZE
public com.almasb.fxgl.entity.GameEntity getPlayer()
public PlayerControl getPlayerControl()
public com.almasb.fxgl.ai.pathfinding.AStarGrid getGrid()
protected void initSettings(com.almasb.fxgl.settings.GameSettings settings)
initSettings in class com.almasb.fxgl.app.GameApplicationprotected void initInput()
initInput 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 onPostUpdate(double tpf)
onPostUpdate in class com.almasb.fxgl.app.GameApplicationpublic void onCoinPickup()
public void onPlayerKilled()
public static void main(String[] args)
Copyright © 2017. All rights reserved.