Repository navigation
API Interface UIScreenStack
Defined in: src/plugins/ui/runtime/uiScreens.ts:157
A World's screens: what UIScreens.of(world) returns, and what UIScreens' statics do for the current World.
readonly current: UIScreenEntry | null;Defined in: src/plugins/ui/runtime/uiScreens.ts:173
The top screen, or null.
readonly stack: readonly UIScreenEntry[];Defined in: src/plugins/ui/runtime/uiScreens.ts:175
The screens, bottom first.
back(): boolean;Defined in: src/plugins/ui/runtime/uiScreens.ts:163
Back: take the top screen off unless it's the only one (the root stays). False when it didn't.
boolean
clear(name?, params?): boolean;Defined in: src/plugins/ui/runtime/uiScreens.ts:167
Empty the stack, then show name (when given) as its only screen.
string
Record<string, string>
boolean
go(path): boolean;Defined in: src/plugins/ui/runtime/uiScreens.ts:169
Push the screen a path names (/results/42). False when no screen's path matches it.
string
boolean
pathOf(name, params?): string;Defined in: src/plugins/ui/runtime/uiScreens.ts:171
The path of name with params (pathOf("results", { matchId: "42" }) → /results/42).
string
Record<string, string>
string
pop(): boolean;Defined in: src/plugins/ui/runtime/uiScreens.ts:161
Take the top screen off. False when the stack is empty.
boolean
push(name, params?): boolean;Defined in: src/plugins/ui/runtime/uiScreens.ts:159
Show the screen named name on top, with params for its path (/results/:matchId). False when there's no such screen.
string
Record<string, string>
boolean
replace(name, params?): boolean;Defined in: src/plugins/ui/runtime/uiScreens.ts:165
Swap the top screen for name (push it when the stack is empty).
string
Record<string, string>
boolean
This wiki is generated from docs/wiki/ and the myco module's source on every push to master. Change pages there in a pull request: edits made here are not kept.
Basics
Gameplay
Rendering
Audio
- Playing sound
- Why is there no sound?
- Playlists
- Interactive music
- Sound generators
- Spatial audio
- Audio mixer
- Live mixing
- Loudness
- Audio profiler
- Audio takes
Reference