Skip to content

ICoreFunctions

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

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

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

T = any

Action

ActionSignal<T>


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

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

IFocusable | IFocusable[]

null | string | number

boolean

void


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

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

string | number

boolean

IFocusable | IFocusable[]

IFocusLayer


addPopup<T>(id, popup): void

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

T = any

string | number

PopupConstructor<T>

void


clearFocus(): void

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

void


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

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

T = any

Action

ActionSignal<T>


getActions(): ActionMap

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

ActionMap


getAllPaths(): string[]

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

string[]


getChildAtPath(path): undefined | Container<ContainerChild>

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

string

undefined | Container<ContainerChild>


getChildrenAtPaths(paths): Container<ContainerChild>[]

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

string[]

Container<ContainerChild>[]


getPathForChild(container): string

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

Container

string


getPathsForChildren(containers): string[]

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

Container<ContainerChild>[]

string[]


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

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

T = any

string | number

T

Promise<undefined | IPopup<T>>


isControllerActive(controller): boolean

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

InputController

boolean


isGamepadActive(gamepad): boolean

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

Gamepad

boolean


isKeyDown(key): boolean

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

string

boolean


loadAssets(assets): Promise<void>

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

string | string[]

Promise<void>


loadBundles(bundle): Promise<void>

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

string | string[]

Promise<void>


loadRequired(): Promise<void>

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

Promise<void>


loadScene(sceneIdOrLoadSceneConfig): Promise<void>

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

string | LoadSceneConfig

Promise<void>


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

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

IScene

boolean

Promise<void>


onKeyDown(key?): KeySignal

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

string

KeySignal


onKeyUp(key?): KeySignal

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

string

KeySignal


removeAllFocusLayers(): void

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

void


removeAllPopups(animate?): void

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

boolean

void


removeFocusable(focusable): void

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

IFocusable | IFocusable[]

void


removeFocusLayer(layerId?, removeTopLayerIfUndefined?): void

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

string | number

boolean

void


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

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

T = any

Action

T

void


setActionContext(context): string

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

ActionContext

string


setFocus(focusable): IFocusable

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

IFocusable

IFocusable


setFocusLayer(layerId): void

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

string | number

void


setLayerOrder(layerIds): void

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

(string | number)[]

void


setLocale(localeId): void

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

string

void


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

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

T = any

string | number

Partial<PopupConfig<T>>

Promise<undefined | IPopup<T>>


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

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

string

i18nTParams

string

string


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

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

string

i18nTParams

string

string


unloadSceneAssets(scene): Promise<void>

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

IScene

Promise<void>