file: FunctionNode.aus

class: FunctionNode

[19:7] extends: DialogueNode

Wraps FXGL's FunctionNode (com.almasb.fxgl.cutscene.dialogue.FunctionNode), a DialogueNode subclass whose text is interpreted as a function call (e.g. "give_item sword 1"). The call is dispatched by the active FunctionCallHandler. FunctionNode also carries a numTimes counter; once the function has been called numTimes times, it is skipped on subsequent visits. The default value of -1 means unlimited.

Methods