Constructor






Methods










LightMenu:onAddToStage(stage: Object)

Arguments:

stage: Object

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



LightMenu:onButtonSelect(button: any)

Arguments:

button: any


LightMenu:onKeyPressed(key: any)

Arguments:

key: any







Undocumented















LightMenu.font: love.Font

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

Open in Browser



LightMenu.font_small: love.Font

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

Open in Browser

















LightMenu.state: string

States: MAIN, ITEMMENU, ITEMUSAGE









LightMenu.ui_cancel_small: Sound

The sound class. This is a transparent wrapper over Love2D's Source.



LightMenu.ui_cant_select: Sound

The sound class. This is a transparent wrapper over Love2D's Source.



LightMenu.ui_move: Sound

The sound class. This is a transparent wrapper over Love2D's Source.



LightMenu.ui_select: Sound

The sound class. This is a transparent wrapper over Love2D's Source.