src/core/AssetManager.js
/**
	* Initializes the asset manager. All assets are prepared so they
	* can be used by the game.
	*
	* @return {Promise} Resolves when all assets are ready.
	*/
Initializes the asset manager. All assets are prepared so they
can be used by the game.

@return {Promise} Resolves when all assets are ready.
Initializes the asset manager . All assets are prepared so they can be used by the game . @return { Promise } Resolves when all assets are ready .
init() {
		this._loadAnimations();
		this._loadAudios();
		this._loadConfigs();
		this._loadModels();
		this._loadTextures();
		this._loadNavMesh();
		return new Promise( ( resolve ) => {
			this.loadingManager.onLoad = () => {
				resolve();
			};
		} );
	}
init ( ) { this . _loadAnimations ( ) ; this . _loadAudios ( ) ; this . _loadConfigs ( ) ; this . _loadModels ( ) ; this . _loadTextures ( ) ; this . _loadNavMesh ( ) ; return new Promise ( ( resolve ) => { this . loadingManager . onLoad = ( ) => { resolve ( ) ; } ; } ) ; }
Initializes the asset manager.
Initializes the asset manager .