Constructor
Choicebox(x: any, y: any, width: any, height: any, battle_box: any, options: any)
Arguments:
| x: any | |
| y: any | |
| width: any | |
| height: any | |
| battle_box: any | |
| options: any |
Methods
Choicebox:addChoice(name: string)
Adds a new choice to the choicebox.
Arguments:
| name: string | The name of the new choice that will be shown for the selection. |
Choicebox:setColors(main: table?, hover: table?)
Sets the main and hover colors for every choice in the choicebox.
Arguments:
| main: table? | The main color to set for all choices, or a table of main colors for each individual choice. (Defaults to |
| hover: table? | The hover color to set for all choices, or a table of hover colors for each individual choice. (Defaults to |
Undocumented
Choicebox.font: love.Font
Defines the shape of characters that can be drawn onto the screen.
Choicebox.heart: love.Image
Drawable image type.