Constructor
GonerChoice(x: any, y: any, choices: any, on_complete: any, on_select: any)
Arguments:
| x: any | |
| y: any | |
| choices: any | |
| on_complete: any | |
| on_select: any |
Methods
GonerChoice:getChoiceText(choice: any, x: any, y: any)
Arguments:
| choice: any | |
| x: any | |
| y: any |
Returns:
| 1: unknown |
GonerChoice:getSoulTarget(choice: any, x: any, y: any)
Arguments:
| choice: any | |
| x: any | |
| y: any |
Returns:
| 1: integer | |
| 2: integer |
GonerChoice:isHidden(choice: any, x: any, y: any)
Arguments:
| choice: any | |
| x: any | |
| y: any |
Returns:
| 1: boolean |
GonerChoice:setChoices(choices: any, selected_x: any, selected_y: any)
Arguments:
| choices: any | |
| selected_x: any | |
| selected_y: any |
Fields
Undocumented
GonerChoice.soul: Sprite
A simple object that renders a texture.
This texture must be placed inside assets/sprites/.
GonerChoice.state: string
FADEIN, CHOICE, FADEOUT