narrat 3.0.2 → 3.1.1
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/dist/components/screen-layer.vue.d.ts +21 -11
- package/dist/examples/rpg/scripts.d.ts +1 -1
- package/dist/exports/config.d.ts +2 -0
- package/dist/narrat.es.js +1495 -1482
- package/dist/narrat.es.js.map +1 -1
- package/dist/narrat.umd.js +91 -91
- package/dist/narrat.umd.js.map +1 -1
- package/dist/stores/main-store.d.ts +6 -4
- package/dist/stores/screen-objects-store.d.ts +2 -0
- package/dist/utils/data-helpers.d.ts +1 -1
- package/dist/vm/commands/sprite-commands.d.ts +3 -0
- package/package.json +1 -1
|
@@ -1589,8 +1589,8 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
|
|
|
1589
1589
|
finishTransition(layer: number): void;
|
|
1590
1590
|
transitionScreen(screen: string, transition: import("../utils/transition").AddTransition, layer?: number | undefined): Promise<void>;
|
|
1591
1591
|
emptyLayer(layer: number, transition?: import("../utils/transition").AddTransition | undefined): Promise<void>;
|
|
1592
|
-
setButtons(config: import("../
|
|
1593
|
-
reset(config: import("../
|
|
1592
|
+
setButtons(config: import("../lib").Config): void;
|
|
1593
|
+
reset(config: import("../lib").Config): void;
|
|
1594
1594
|
changeButton(button: string, newValue: import("./screens-store").ButtonStateValue): void;
|
|
1595
1595
|
generateSaveData(): import("./screens-store").ScreenSave;
|
|
1596
1596
|
loadSaveData(data: import("./screens-store").ScreenSave): void;
|
|
@@ -1946,9 +1946,11 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
|
|
|
1946
1946
|
}): {
|
|
1947
1947
|
[key: string]: import("./screen-objects-store").ScreenObjectState;
|
|
1948
1948
|
};
|
|
1949
|
+
emptyLayer(layer: number): void;
|
|
1950
|
+
emptyAllLayers(): void;
|
|
1949
1951
|
}>;
|
|
1950
1952
|
settings: import("pinia").Store<"settings", import("./settings-store").GameUserSettings, {}, {
|
|
1951
|
-
reset(config: import("../
|
|
1953
|
+
reset(config: import("../lib").Config): void;
|
|
1952
1954
|
getSetting(key: string): any;
|
|
1953
1955
|
getSettingSchema(key: string): ({
|
|
1954
1956
|
description?: string | undefined;
|
|
@@ -2015,7 +2017,7 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
|
|
|
2015
2017
|
});
|
|
2016
2018
|
};
|
|
2017
2019
|
setSetting(key: string, value: any): void;
|
|
2018
|
-
setupSettings(config: import("../
|
|
2020
|
+
setupSettings(config: import("../lib").Config): void;
|
|
2019
2021
|
addCustomSetting(key: string, schema: ({
|
|
2020
2022
|
description?: string | undefined;
|
|
2021
2023
|
name: string;
|
|
@@ -23,7 +23,7 @@ export declare function getModifiableDataPinia(): {
|
|
|
23
23
|
scope: {
|
|
24
24
|
[key: string]: any;
|
|
25
25
|
};
|
|
26
|
-
config: import("../
|
|
26
|
+
config: import("../lib").Config;
|
|
27
27
|
gameOptions: {
|
|
28
28
|
baseAssetsPath?: string | undefined;
|
|
29
29
|
baseDataPath?: string | undefined;
|