Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LoadingScene

Hierarchy

Implements

Index

Constructors

constructor

Properties

Private _assetHolders

_assetHolders: SceneAssetHolder[]

Private _explicitEnd

_explicitEnd: boolean

Private _loaded

_loaded: boolean

Private _loadingState

_loadingState: SceneLoadState

Private _prefetchRequested

_prefetchRequested: boolean

Private _ready

_ready: Trigger<Scene>

Private _sceneAssetHolder

_sceneAssetHolder: SceneAssetHolder

Private _storageLoader

_storageLoader: StorageLoader

Private _targetScene

_targetScene: Scene

Private _timer

_timer: TimerManager

assetLoadCompleted

assetLoadCompleted: Trigger<Asset>

assetLoadFailed

assetLoadFailed: Trigger<AssetLoadFailureInfo>

assetLoaded

assetLoaded: Trigger<Asset>

assets

assets: object

Type declaration

children

children: E[]

game

game: Game

loaded

loaded: Trigger<Scene>

local

message

name

name: string

operation

pointDownCapture

pointDownCapture: Trigger<PointDownEvent>

pointMoveCapture

pointMoveCapture: Trigger<PointMoveEvent>

pointUpCapture

pointUpCapture: Trigger<PointUpEvent>

state

state: SceneState

stateChanged

stateChanged: Trigger<SceneState>

storageValues

storageValues: StorageValueStore

targetAssetLoaded

targetAssetLoaded: Trigger<Asset>

targetReady

targetReady: Trigger<Scene>

targetReset

targetReset: Trigger<Scene>

tickGenerationMode

tickGenerationMode: TickGenerationMode

update

update: Trigger<void>

Methods

Private _activate

  • _activate(): void
  • Returns void

Private _clearTargetScene

  • _clearTargetScene(): void
  • Returns void

Private _deactivate

  • _deactivate(): void

Private _doReset

  • _doReset(): boolean
  • Returns boolean

Private _fireLoaded

  • _fireLoaded(): void

Private _fireReady

  • _fireReady(): void
  • Returns void

Private _fireTriggerOnTargetAssetLoad

  • _fireTriggerOnTargetAssetLoad(asset: Asset): void
  • Parameters

    Returns void

Private _fireTriggerOnTargetReady

  • _fireTriggerOnTargetReady(scene: Scene): void
  • Parameters

    Returns void

Private _load

  • _load(): void
  • Returns void

Private _needsLoading

  • _needsLoading(): boolean

Private _notifySceneReady

  • _notifySceneReady(): void

Private _onSceneAssetsLoad

  • _onSceneAssetsLoad(): void

Private _onStorageLoadError

Private _onStorageLoaded

  • _onStorageLoaded(): void

Private _onTargetAssetLoad

  • _onTargetAssetLoad(asset: Asset): boolean
  • Parameters

    Returns boolean

append

  • append(e: E): void
  • Parameters

    • e: E

    Returns void

clearInterval

clearTimeout

createTimer

  • createTimer(interval: number): Timer
  • Parameters

    • interval: number

    Returns Timer

deleteTimer

  • deleteTimer(timer: Timer): void

destroy

  • destroy(): void

destroyed

  • destroyed(): boolean

end

  • end(): void
  • Returns void

findPointSourceByPoint

getTargetWaitingAssetsCount

  • getTargetWaitingAssetsCount(): number
  • Returns number

gotoScene

  • gotoScene(next: Scene, toPush?: boolean): void
  • Parameters

    • next: Scene
    • Optional toPush: boolean

    Returns void

insertBefore

  • insertBefore(e: E, target: E): void
  • Parameters

    • e: E
    • target: E

    Returns void

isCurrentScene

  • isCurrentScene(): boolean

modified

  • modified(isBubbling?: boolean): void
  • Parameters

    • Optional isBubbling: boolean

    Returns void

prefetch

  • prefetch(): void
  • Returns void

register

  • register(e: E): void
  • Parameters

    • e: E

    Returns void

remove

  • remove(e: E): void
  • Parameters

    • e: E

    Returns void

requestAssets

reset

  • reset(targetScene: Scene): void
  • Parameters

    Returns void

serializeStorageValues

setInterval

  • setInterval(interval: number, owner: any, handler?: function): TimerIdentifier
  • Parameters

    • interval: number
    • owner: any
    • Optional handler: function
        • (): void
        • Returns void

    Returns TimerIdentifier

setTimeout

  • setTimeout(milliseconds: number, owner: any, handler?: function): TimerIdentifier
  • Parameters

    • milliseconds: number
    • owner: any
    • Optional handler: function
        • (): void
        • Returns void

    Returns TimerIdentifier

unregister

  • unregister(e: E): void
  • Parameters

    • e: E

    Returns void

Generated using TypeDoc