Basics
Guides
API Reference
Basics
Guides
API Reference
[13:7] extends: FxObj
Wraps FXGL's SerializableTextNode (com.almasb.fxgl.cutscene.dialogue.SerializableTextNode), the Jackson-friendly form of TextNode (or BranchNode, which shares the same data shape) used during DialogueGraph persistence.
SerializableTextNode (TypeObj = null, string Text = "", OptionsList = null)
Creates a new SerializableTextNode. Pass null for TypeObj to construct an empty wrapper for adopt.
TypeObj is a DialogueNodeType enum value (use DialogueNodeType.TEXT or DialogueNodeType.BRANCH).Text is the line text.OptionsList is an Aussom list of SerializableOption wrappers (default empty list).adopt (object Ajo)
Wraps an existing SerializableTextNode AussomJavaObject.
Ajo is an AussomJavaObject around a SerializableTextNode.A new wrapper.getType ()
Returns the DialogueNodeType enum value.
getText ()
Returns the line text. @r A string.
getOptions ()
Returns the option list. @r An AussomJavaObject around a List.
getAudio ()
Returns the audio file name. @r A string.
setAudio (string Audio)
Sets the audio file name.
Audio is the audio file name string.this object
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.