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:finish(callback: any)

Arguments:

callback: any


GonerChoice:getChoice(x: any, y: any)

Arguments:

x: any
y: any

Returns:

1: unknown
2: unknown
3: unknown


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:moveSelection(x: any, y: any, dx: any, dy: any)

Arguments:

x: any
y: any
dx: any
dy: any


GonerChoice:onCancel(choice: any, x: any, y: any)

Arguments:

choice: any
x: any
y: any


GonerChoice:onComplete(choice: any, x: any, y: any)

Arguments:

choice: any
x: any
y: any


GonerChoice:onHover(choice: any, x: any, y: any)

Arguments:

choice: any
x: any
y: any


GonerChoice:onSelect(choice: any, x: any, y: any)

Arguments:

choice: any
x: any
y: any








GonerChoice:select(x: any, y: any)

Arguments:

x: any
y: any


GonerChoice:setChoice(x: any, y: any, choice: any)

Arguments:

x: any
y: any
choice: any


GonerChoice:setChoices(choices: any, selected_x: any, selected_y: any)

Arguments:

choices: any
selected_x: any
selected_y: any


GonerChoice:setSelectedOption(x: any, y: any, move_soul: any)

Arguments:

x: any
y: any
move_soul: any


GonerChoice:setSoulOffset(x: any, y: any)

Arguments:

x: any
y: any


GonerChoice:setSoulOrigin(ox: any, oy: any)

Arguments:

ox: any
oy: any


GonerChoice:setSoulPosition(x: any, y: any, set_target: any)

Arguments:

x: any
y: any
set_target: any


GonerChoice:setSoulTarget(x: any, y: any)

Arguments:

x: any
y: any


GonerChoice:setWrap(x: any, y: any)

Arguments:

x: any
y: any





Fields



Undocumented































GonerChoice.font: love.Font|nil

Defines the shape of characters that can be drawn onto the screen.

Open in Browser



































GonerChoice.soul: Sprite

A simple object that renders a texture.
This texture must be placed inside assets/sprites/.































GonerChoice.state: string

FADEIN, CHOICE, FADEOUT