file: CutsceneCallback.aus

class: CutsceneCallback

[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"); }

Methods