Skip to content

ICoreFunctions

Defined in: core/interfaces/ICoreFunctions.ts:15

actions<T>(action): ActionSignal<T>

Defined in: core/interfaces/ICoreFunctions.ts:44

T = any

string

ActionSignal<T>


addFocusable(focusable, layerId?, isDefault?): void

Defined in: core/interfaces/ICoreFunctions.ts:17

IFocusable | IFocusable[]

null | string | number

boolean

void


addFocusLayer(layerId?, setAsCurrent?, focusables?): IFocusLayer

Defined in: core/interfaces/ICoreFunctions.ts:24

string | number

boolean

IFocusable | IFocusable[]

IFocusLayer


addPopup<T>(id, popup): void

Defined in: core/interfaces/ICoreFunctions.ts:52

T = any

string | number

PopupConstructor<T>

void


clearFocus(): void

Defined in: core/interfaces/ICoreFunctions.ts:28

void


getAction<T>(action): ActionSignal<T>

Defined in: core/interfaces/ICoreFunctions.ts:40

T = any

string

ActionSignal<T>


getActions(): ActionMap

Defined in: core/interfaces/ICoreFunctions.ts:41

ActionMap


getAllPaths(): string[]

Defined in: core/interfaces/ICoreFunctions.ts:72

string[]


getChildAtPath(path): undefined | Container<ContainerChild>

Defined in: core/interfaces/ICoreFunctions.ts:68

string

undefined | Container<ContainerChild>


getChildrenAtPaths(paths): Container<ContainerChild>[]

Defined in: core/interfaces/ICoreFunctions.ts:69

string[]

Container<ContainerChild>[]


getPathForChild(container): string

Defined in: core/interfaces/ICoreFunctions.ts:70

Container

string


getPathsForChildren(containers): string[]

Defined in: core/interfaces/ICoreFunctions.ts:71

Container<ContainerChild>[]

string[]


hidePopup<T>(id, data?): Promise<undefined | IPopup<T>>

Defined in: core/interfaces/ICoreFunctions.ts:54

T = any

string | number

T

Promise<undefined | IPopup<T>>


isControllerActive(controller): boolean

Defined in: core/interfaces/ICoreFunctions.ts:36

InputController

boolean


isGamepadActive(gamepad): boolean

Defined in: core/interfaces/ICoreFunctions.ts:37

Gamepad

boolean


isKeyDown(key): boolean

Defined in: core/interfaces/ICoreFunctions.ts:49

string

boolean


loadAssets(assets): Promise<void>

Defined in: core/interfaces/ICoreFunctions.ts:61

string | string[]

Promise<void>


loadBundles(bundle): Promise<void>

Defined in: core/interfaces/ICoreFunctions.ts:62

string | string[]

Promise<void>


loadRequired(): Promise<void>

Defined in: core/interfaces/ICoreFunctions.ts:65

Promise<void>


loadScene(sceneIdOrLoadSceneConfig): Promise<void>

Defined in: core/interfaces/ICoreFunctions.ts:58

string | LoadSceneConfig

Promise<void>


loadSceneAssets(scene, background?): Promise<void>

Defined in: core/interfaces/ICoreFunctions.ts:63

IScene

boolean

Promise<void>


onKeyDown(key?): KeySignal

Defined in: core/interfaces/ICoreFunctions.ts:47

string

KeySignal


onKeyUp(key?): KeySignal

Defined in: core/interfaces/ICoreFunctions.ts:48

string

KeySignal


removeAllFocusLayers(): void

Defined in: core/interfaces/ICoreFunctions.ts:29

void


removeAllPopups(animate?): void

Defined in: core/interfaces/ICoreFunctions.ts:55

boolean

void


removeFocusable(focusable): void

Defined in: core/interfaces/ICoreFunctions.ts:22

IFocusable | IFocusable[]

void


removeFocusLayer(layerId?, removeTopLayerIfUndefined?): void

Defined in: core/interfaces/ICoreFunctions.ts:25

string | number

boolean

void


sendAction<T>(actionId, data?): void

Defined in: core/interfaces/ICoreFunctions.ts:42

T = any

string | number

T

void


setActionContext(context): string

Defined in: core/interfaces/ICoreFunctions.ts:43

string | string & object

string


setFocus(focusable): IFocusable

Defined in: core/interfaces/ICoreFunctions.ts:26

IFocusable

IFocusable


setFocusLayer(layerId): void

Defined in: core/interfaces/ICoreFunctions.ts:27

string | number

void


setLayerOrder(layerIds): void

Defined in: core/interfaces/ICoreFunctions.ts:23

(string | number)[]

void


setLocale(localeId): void

Defined in: core/interfaces/ICoreFunctions.ts:32

string

void


showPopup<T>(id, config?): Promise<undefined | IPopup<T>>

Defined in: core/interfaces/ICoreFunctions.ts:53

T = any

string | number

Partial<PopupConfig<T>>

Promise<undefined | IPopup<T>>


t(key, params?, locale?): string

Defined in: core/interfaces/ICoreFunctions.ts:33

string

i18nTParams

string

string


translate(key, params?, locale?): string

Defined in: core/interfaces/ICoreFunctions.ts:34

string

i18nTParams

string

string


unloadSceneAssets(scene): Promise<void>

Defined in: core/interfaces/ICoreFunctions.ts:64

IScene

Promise<void>