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: love.Source

A Source represents audio you can play back.

You can do interesting things with Sources, like set the volume, pitch, and its position relative to the listener. Please note that positional audio only works for mono (i.e. non-stereo) sources.

The Source controls (play/pause/stop) act according to the following state table.

Open in Browser



LightMenu.ui_cant_select: love.Source

A Source represents audio you can play back.

You can do interesting things with Sources, like set the volume, pitch, and its position relative to the listener. Please note that positional audio only works for mono (i.e. non-stereo) sources.

The Source controls (play/pause/stop) act according to the following state table.

Open in Browser



LightMenu.ui_move: love.Source

A Source represents audio you can play back.

You can do interesting things with Sources, like set the volume, pitch, and its position relative to the listener. Please note that positional audio only works for mono (i.e. non-stereo) sources.

The Source controls (play/pause/stop) act according to the following state table.

Open in Browser



LightMenu.ui_select: love.Source

A Source represents audio you can play back.

You can do interesting things with Sources, like set the volume, pitch, and its position relative to the listener. Please note that positional audio only works for mono (i.e. non-stereo) sources.

The Source controls (play/pause/stop) act according to the following state table.

Open in Browser