Constructor






Methods


DarkMenu:addButton(button: any, index: any)

Arguments:

button: any
index: any

Returns:

1: unknown








DarkMenu:drawButton(index: any, x: any, y: any)

Arguments:

index: any
x: any
y: any


DarkMenu:getButton(id: any)

Arguments:

id: any

Returns:

1: unknown




DarkMenu:onAdd(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.



DarkMenu:onButtonSelect(button_index: any)

Arguments:

button_index: any


DarkMenu:onKeyPressed(key: any)

Arguments:

key: any


DarkMenu:partySelect(mode: any, after: any)

Arguments:

mode: any
after: any


DarkMenu:setDescription(text: any, visible: any)

Arguments:

text: any
visible: any









Undocumented



















DarkMenu.description: Text

The Text object, made for displaying formatted text.

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







DarkMenu.font: love.Font

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

Open in Browser































DarkMenu.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



DarkMenu.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



DarkMenu.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



DarkMenu.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