LoadState
Extends:
Displays the loading screen for the app Loads the assets in the background Starts the run state when loading is finished
Constructor Summary
Public Constructor | ||
public |
Constructor method for LoadState Returns a new instance of this class |
Member Summary
Public Members | ||
public get |
app: * Getter for the app property this.app is a synonym for this.game |
|
public |
|
Method Summary
Public Methods | ||
public |
create() Runs once, before the first frame is rendered for this state |
|
public |
preload() Runs once, before the create method for this state Sets up the loading image for display Initializes the loaders for all Domless components |
|
public |
update() Runs continuously, before each frame is rendered for this state Starts the run state if all assets and components have loaded |
Public Constructors
Public Members
public loadingSprite: * source
Public Methods
public preload() source
Runs once, before the create method for this state Sets up the loading image for display Initializes the loaders for all Domless components
public update() source
Runs continuously, before each frame is rendered for this state Starts the run state if all assets and components have loaded