angry-pixel 2.0.8 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.cjs.js +1 -1
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.d.ts +10 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -953,6 +953,13 @@ declare class SystemManager {
|
|
|
953
953
|
* @internal
|
|
954
954
|
*/
|
|
955
955
|
getSystem<T extends System>(systemType: SystemType<T>): T;
|
|
956
|
+
/**
|
|
957
|
+
* Returns TRUE wether the given group has systems
|
|
958
|
+
* @param group The system group
|
|
959
|
+
* @returns boolean
|
|
960
|
+
* @internal
|
|
961
|
+
*/
|
|
962
|
+
groupHasSystems(group: SystemGroup): boolean;
|
|
956
963
|
/**
|
|
957
964
|
* Enables a system by its type.\
|
|
958
965
|
* The method `onEnabled` of the system will be called. If the system is enabled for the first time, the method `onCreate` will also be called.
|
|
@@ -1249,6 +1256,7 @@ declare abstract class Scene {
|
|
|
1249
1256
|
protected readonly assetManager: AssetManager;
|
|
1250
1257
|
systems: SystemType[];
|
|
1251
1258
|
constructor(entityManager: EntityManager, assetManager: AssetManager);
|
|
1259
|
+
loadSystems(): void;
|
|
1252
1260
|
loadAssets(): void;
|
|
1253
1261
|
setup(): void;
|
|
1254
1262
|
}
|
|
@@ -1270,12 +1278,13 @@ declare class SceneManager {
|
|
|
1270
1278
|
private openingSceneName;
|
|
1271
1279
|
private currentSceneName;
|
|
1272
1280
|
private sceneNameToBeLoaded;
|
|
1273
|
-
private
|
|
1281
|
+
private _loadingScene;
|
|
1274
1282
|
/** @internal */
|
|
1275
1283
|
constructor(systemManager: SystemManager, systemFactory: CreateSystemService, entityManager: EntityManager, assetManager: AssetManager);
|
|
1276
1284
|
addScene(sceneType: SceneType, name: string, openingScene?: boolean): void;
|
|
1277
1285
|
loadScene(name: string): void;
|
|
1278
1286
|
loadOpeningScene(): void;
|
|
1287
|
+
loadingScene(): boolean;
|
|
1279
1288
|
/** @internal */
|
|
1280
1289
|
update(): void;
|
|
1281
1290
|
private destroyCurrentScene;
|