file: TextNode.aus

class: TextNode

[15:7] extends: DialogueNode

Wraps FXGL's TextNode (com.almasb.fxgl.cutscene.dialogue.TextNode), a DialogueNode subclass that displays a line of text and offers the player a list of options. Every TextNode starts with one empty option (id 0) so the simplest chain ("just go to the next node") works with no setup.

Methods