Constructor
DialogueText(text: any, x: any, y: any, w: any, h: any, options: any)
Arguments:
| text: any | |
| x: any | |
| y: any | |
| w: any | |
| h: any | |
| options: any |
Methods
DialogueText:processCustomCommand(node: any, dry: any)
Arguments:
| node: any | |
| dry: any |
Returns:
| 1: unknown |
DialogueText:registerCommand(command: any, func: any, options: any)
Arguments:
| command: any | |
| func: any | |
| options: any |
DialogueText:setText(text: any, callback: any, line_callback: any)
Arguments:
| text: any | |
| callback: any | |
| line_callback: any |
Fields
DialogueText.actor: Actor?
Actors are a type of data class that represent the visuals of a character - anything that is some type of character, be it the player, an NPC, or an enemy in battle, it will require an actor.
As a data class, actors are stored in scripts/data/actors/, and extend this class. Their filepath starting from here becomes their id, unless an id is specified as an argument to Class().