slot

fun slot(slot: Int)

Configures a slot at the specified index.

Parameters

slot

The raw index of the slot (0-indexed).


fun slot(slot: Int, creator: SlotCreator.() -> Unit)

Configures a slot at the specified index with a builder.

Parameters

slot

The raw index of the slot (0-indexed).

creator

The builder block for the slot.


fun slot(x: Int, y: Int, creator: SlotCreator.() -> Unit)

Configures a slot by its X and Y coordinates.

Parameters

x

The row index (1-indexed).

y

The column index (1-indexed).

creator

The builder block for the slot.


fun slot(slot: Slot, creator: SlotCreator.() -> Unit)

Configures a slot using a Slot instance.

Parameters

slot

The slot instance.

creator

The builder block for the slot.