file: View.aus

class: View

[23:7] extends: FxObj

Wraps an AussomView (implementation of FXGL's View interface: Updatable + Disposable + getNode) so Aussom code can author a custom updatable scene Node. Pair the Node with onUpdate / onDispose callbacks; the underlying View can then be added to any FXGL container that accepts View instances (e.g. GameScene.addGameView). For the simpler Updatable, Disposable, and Copyable<T> interfaces (single method each), use the existing aji.closure pattern: updatable = aji.closure("com.almasb.fxgl.core.Updatable", cb); disposable = aji.closure("com.almasb.fxgl.core.Disposable", cb); copyable = aji.closure("com.almasb.fxgl.core.Copyable", cb);

Methods