GonerChoice
┗> Object > Class
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: number | |
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.font: love.Font|nil
Defines the shape of characters that can be drawn onto the screen.
GonerChoice.soul: Sprite
A simple object that renders a texture.
This texture must be placed inside assets/sprites/
.
GonerChoice.state: string
FADEIN, CHOICE, FADEOUT