Skip to content

commonnet.kernelpanicsoft.archie.gui

Package-level declarations

Types

AUIScopeManager


ComposeContainerScreen


abstract class ComposeContainerScreen<T : AbstractContainerMenu>(menu: T, playerInventory: Inventory, title: Component) : AbstractContainerScreen<T> , CoroutineScope

ComposeScreen


abstract class ComposeScreen(title: Component) : Screen, CoroutineScope

SlotData


data class SlotData(val groups: MutableMap<String, SlotGroup> = mutableMapOf())

SlotGroup


data class SlotGroup(var x: Int = 0, var y: Int = 0, var width: Int = 0, var height: Int = 0, var slots: MutableSet<IntCoordinates> = mutableSetOf())

Properties

LocalSlotData


val LocalSlotData: ProvidableCompositionLocal<SlotData>

LocalSlotGroup


val LocalSlotGroup: ProvidableCompositionLocal<SlotGroup>

Functions

Slot


@Composablefun Slot(modifier: Modifier = Modifier)

Slots


@Composablefun Slots(id: String, width: Int, height: Int, content: @Composable () -> Unit): SlotGroup