Skip to content

OpenMode

sealed class OpenMode(internal val wire: Int)
Example
fun describe(content: SlotContent): String = when (content.mode) {
is Modal -> "${content.ui} pauses the player"
Overlay -> "${content.ui} sits beside what they do"
}