Constructor


DarkConfigOption(menu: DarkConfigMenu, name: string, callback: fun( DarkConfigOption)?)

Arguments:

menu: DarkConfigMenu

The config menu, for changing in-game settings.

name: string
callback: fun( DarkConfigOption)?




Methods






DarkConfigOption:onRemove(parent: Object)

Arguments:

parent: Object

The base class of all objects in Kristal.
When added to the stage, an object will be updated and rendered.





DarkConfigOption:onStateChanged(old: any, new: any)

Arguments:

old: any
new: any


DarkConfigOption:setAdded(added: any)

Arguments:

added: any


DarkConfigOption:setHovered(hovered: any)

Arguments:

hovered: any



Undocumented







DarkConfigOption.font: love.Font

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

Open in Browser











DarkConfigOption.text: Text

The Text object, made for displaying formatted text.

If you're looking for text which writes itself out over time, see DialogueText.