Basics
Guides
API Reference
Basics
Guides
API Reference
[19:14] static extends: object
Static factory for FXGL's CutsceneCallback interface (com.almasb.fxgl.cutscene.CutsceneCallback). The interface has a single optional method, onCutsceneEnded(), so Aussom callers wire it through aji.closure rather than a Java bridge. Pass the result to APIs that accept a CutsceneCallback. Example: cb = CutsceneCallback.create(::onEnd); public onEnd() { c.println("cutscene done"); }
create (callback Cb)
Wraps the given Aussom callback as a CutsceneCallback whose onCutsceneEnded fires the callback.
Cb is a callback () -> void.An AussomJavaObject around a CutsceneCallback.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.