Basics
Guides
API Reference
Basics
Guides
API Reference
[14:7] extends: FxObj
Wraps FXGL's DialogueEdge (com.almasb.fxgl.cutscene.dialogue.DialogueEdge), a directed connection from one DialogueNode to another, optionally tagged with the source node's option id (for branching from a TextNode's options).
DialogueEdge (SourceObj = null, TargetObj = null, int OptionID = 0)
Creates a new DialogueEdge from Source to Target with the given OptionID. Pass null for both nodes to construct an empty wrapper for adopt.
SourceObj is a DialogueNode wrapper.TargetObj is a DialogueNode wrapper.OptionID is the source-node option id (default 0).adopt (object Ajo)
Wraps an existing DialogueEdge AussomJavaObject.
Ajo is an AussomJavaObject around a DialogueEdge.A new wrapper.getSource ()
Returns the source DialogueNode as an AussomJavaObject.
An AussomJavaObject around a DialogueNode.getTarget ()
Returns the target DialogueNode as an AussomJavaObject.
An AussomJavaObject around a DialogueNode.getOptionID ()
Returns the source-node option id this edge follows.
An int.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.