Basics
Guides
API Reference
Basics
Guides
API Reference
[14:7] extends: FxObj
Wraps FXGL's GameView (com.almasb.fxgl.app.scene.GameView), the small container that pairs a JavaFX Node with a z-index so the engine can layer it correctly inside GameScene's render stack. Pass a GameView to GameScene.addGameView / removeGameView; the z-property can be bound to drive ordering dynamically.
GameView (object NodeObj = null, int Z = 0)
Creates a new GameView wrapping NodeObj at the given z-index.
NodeObj is a JavaFX Node wrapper or raw AJO.Z is the z-index (higher draws on top).adopt (object Ajo)
Wraps an existing GameView AussomJavaObject.
getNode ()
Returns the wrapped JavaFX Node AJO.
getZProperty ()
Returns the SimpleIntegerProperty for the z-index.
getZ ()
Returns the current z-index.
setZ (int V)
Sets the z-index. Higher values draw on top.

Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.