Basics
Guides
API Reference
Basics
Guides
API Reference
[13:7] extends: FxObj
Wraps FXGL's SerializableOption (com.almasb.fxgl.cutscene.dialogue.SerializableOption), the Jackson-friendly value form of an Option used when persisting a DialogueGraph to JSON.
SerializableOption (int Id = -1, string Text = "", string Condition = "")
Creates a new SerializableOption. Pass Id < 0 to construct an empty wrapper for adopt.
Id is the option id.Text is the option display text.Condition is the FXGL condition string.adopt (object Ajo)
Wraps an existing SerializableOption AussomJavaObject.
Ajo is an AussomJavaObject around a SerializableOption.A new wrapper.getId ()
Returns the option id. @r An int.
getText ()
Returns the option text. @r A string.
getCondition ()
Returns the condition string. @r A string.

Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.