Constructor


DarkStorageMenu(top_storage: any, bottom_storage: any)

Arguments:

top_storage: any
bottom_storage: any




Methods




DarkStorageMenu:drawStorage(list: any)

Arguments:

list: any


DarkStorageMenu:getMaxPages(list: any)

Arguments:

list: any

Returns:

1: integer


DarkStorageMenu:getSelectedIndex(list: any)

Arguments:

list: any

Returns:

1: integer


DarkStorageMenu:getSelectedItem(list: any)

Arguments:

list: any

Returns:

1: unknown|nil


DarkStorageMenu:getStorage(list: any)

Arguments:

list: any

Returns:

1: unknown|nil







Fields



Undocumented















DarkStorageMenu.font: love.Font|nil

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

Open in Browser



DarkStorageMenu.heart: Sprite

A simple object that renders a texture.
This texture must be placed inside assets/sprites/.





DarkStorageMenu.heart_target_x: number

Update the heart target position



































DarkStorageMenu.ui_cant_select: love.Source|nil

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



DarkStorageMenu.ui_select: love.Source|nil

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