Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: SubDialogueNode

[14:7] extends: DialogueNode

Wraps FXGL's SubDialogueNode (com.almasb.fxgl.cutscene.dialogue.SubDialogueNode), a DialogueNode subclass whose text identifies a nested dialogue graph to play before returning to the parent graph.

Methods

  • SubDialogueNode (Text = null)

    Creates a new SubDialogueNode with the given identifier text. Pass null for the adopt path.

    • @p Text is the sub-dialogue identifier.
  • adopt (object Ajo)

    Wraps an existing SubDialogueNode AussomJavaObject.

    • @p Ajo is an AussomJavaObject around a SubDialogueNode.
    • @r A new wrapper.
  • copy ()

    Returns a shallow copy of this SubDialogueNode.

    • @r A new SubDialogueNode wrapper.