@drincs/pixi-vn 1.0.0 → 1.0.2
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/canvas/CanvasManager.cjs +1 -1
- package/dist/canvas/CanvasManager.js +1 -1
- package/dist/canvas/CanvasManagerStatic.cjs +1 -1
- package/dist/canvas/CanvasManagerStatic.js +1 -1
- package/dist/canvas/components/Container.cjs +1 -1
- package/dist/canvas/components/Container.js +1 -1
- package/dist/canvas/components/ImageContainer.cjs +1 -1
- package/dist/canvas/components/ImageContainer.js +1 -1
- package/dist/canvas/components/ImageSprite.cjs +1 -1
- package/dist/canvas/components/ImageSprite.js +1 -1
- package/dist/canvas/components/Sprite.cjs +1 -1
- package/dist/canvas/components/Sprite.js +1 -1
- package/dist/canvas/components/Text.cjs +1 -1
- package/dist/canvas/components/Text.js +1 -1
- package/dist/canvas/components/VideoSprite.cjs +1 -1
- package/dist/canvas/components/VideoSprite.js +1 -1
- package/dist/canvas/decorators/canvas-element-decorator.cjs +1 -1
- package/dist/canvas/decorators/canvas-element-decorator.js +1 -1
- package/dist/canvas/decorators/event-decorator.cjs +1 -1
- package/dist/canvas/decorators/event-decorator.d.cts +1 -3
- package/dist/canvas/decorators/event-decorator.d.ts +1 -3
- package/dist/canvas/decorators/event-decorator.js +1 -1
- package/dist/canvas/functions/canvas-effect.cjs +1 -1
- package/dist/canvas/functions/canvas-effect.js +1 -1
- package/dist/canvas/functions/canvas-import-utility.cjs +1 -1
- package/dist/canvas/functions/canvas-import-utility.js +1 -1
- package/dist/canvas/functions/canvas-property-utility.cjs +1 -1
- package/dist/canvas/functions/canvas-property-utility.js +1 -1
- package/dist/canvas/functions/canvas-transition.cjs +1 -1
- package/dist/canvas/functions/canvas-transition.js +1 -1
- package/dist/canvas/functions/image-container-utility.cjs +1 -1
- package/dist/canvas/functions/image-container-utility.js +1 -1
- package/dist/canvas/functions/image-utility.cjs +1 -1
- package/dist/canvas/functions/image-utility.js +1 -1
- package/dist/canvas/functions/ticker-utility.cjs +1 -1
- package/dist/canvas/functions/ticker-utility.js +1 -1
- package/dist/canvas/functions/video-utility.cjs +1 -1
- package/dist/canvas/functions/video-utility.js +1 -1
- package/dist/canvas/index.cjs +1 -1
- package/dist/canvas/index.js +1 -1
- package/dist/canvas/tickers/classes/TickerBase.cjs +1 -1
- package/dist/canvas/tickers/classes/TickerBase.js +1 -1
- package/dist/canvas/tickers/components/FadeAlphaTicker.cjs +1 -1
- package/dist/canvas/tickers/components/FadeAlphaTicker.js +1 -1
- package/dist/canvas/tickers/components/MoveTicker.cjs +1 -1
- package/dist/canvas/tickers/components/MoveTicker.js +1 -1
- package/dist/canvas/tickers/components/RotateTicker.cjs +1 -1
- package/dist/canvas/tickers/components/RotateTicker.js +1 -1
- package/dist/canvas/tickers/components/ZoomTicker.cjs +1 -1
- package/dist/canvas/tickers/components/ZoomTicker.js +1 -1
- package/dist/canvas/tickers/decorators/ticker-decorator.cjs +1 -1
- package/dist/canvas/tickers/decorators/ticker-decorator.d.cts +1 -3
- package/dist/canvas/tickers/decorators/ticker-decorator.d.ts +1 -3
- package/dist/canvas/tickers/decorators/ticker-decorator.js +1 -1
- package/dist/canvas/tickers/index.cjs +1 -1
- package/dist/canvas/tickers/index.js +1 -1
- package/dist/character/decorators/character-decorator.cjs +1 -1
- package/dist/character/decorators/character-decorator.d.cts +1 -3
- package/dist/character/decorators/character-decorator.d.ts +1 -3
- package/dist/character/decorators/character-decorator.js +1 -1
- package/dist/character/index.cjs +1 -1
- package/dist/character/index.js +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.d.cts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/history/HistoryManager.cjs +1 -1
- package/dist/history/HistoryManager.d.cts +1 -1
- package/dist/history/HistoryManager.d.ts +1 -1
- package/dist/history/HistoryManager.js +1 -1
- package/dist/history/HistoryManagerStatic.d.cts +1 -1
- package/dist/history/HistoryManagerStatic.d.ts +1 -1
- package/dist/history/index.cjs +1 -1
- package/dist/history/index.d.cts +1 -1
- package/dist/history/index.d.ts +1 -1
- package/dist/history/index.js +1 -1
- package/dist/history/interfaces/HistoryGameState.d.cts +1 -1
- package/dist/history/interfaces/HistoryGameState.d.ts +1 -1
- package/dist/history/interfaces/HistoryManagerInterface.d.cts +1 -1
- package/dist/history/interfaces/HistoryManagerInterface.d.ts +1 -1
- package/dist/{index-Bo5b5ojv.d.cts → index-A4Zf-9mB.d.cts} +4 -4
- package/dist/{index-b75SF7z8.d.ts → index-DwELdyJt.d.ts} +4 -4
- package/dist/index.cjs +101 -101
- package/dist/index.d.cts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +101 -101
- package/dist/interfaces/GameState.d.cts +1 -1
- package/dist/interfaces/GameState.d.ts +1 -1
- package/dist/interfaces/index.d.cts +1 -1
- package/dist/interfaces/index.d.ts +1 -1
- package/dist/narration/NarrationManager.cjs +32 -32
- package/dist/narration/NarrationManager.d.cts +7 -7
- package/dist/narration/NarrationManager.d.ts +7 -7
- package/dist/narration/NarrationManager.js +32 -32
- package/dist/narration/NarrationManagerStatic.cjs +51 -51
- package/dist/narration/NarrationManagerStatic.d.cts +1 -1
- package/dist/narration/NarrationManagerStatic.d.ts +1 -1
- package/dist/narration/NarrationManagerStatic.js +51 -51
- package/dist/narration/classes/ChoiceMenuOption.cjs +1 -1
- package/dist/narration/classes/ChoiceMenuOption.js +1 -1
- package/dist/narration/classes/CloseLabel.cjs +1 -1
- package/dist/narration/classes/CloseLabel.d.cts +1 -1
- package/dist/narration/classes/CloseLabel.d.ts +1 -1
- package/dist/narration/classes/CloseLabel.js +1 -1
- package/dist/narration/classes/Label.cjs +1 -1
- package/dist/narration/classes/Label.js +1 -1
- package/dist/narration/classes/LabelAbstract.cjs +1 -1
- package/dist/narration/classes/LabelAbstract.d.cts +2 -6
- package/dist/narration/classes/LabelAbstract.d.ts +2 -6
- package/dist/narration/classes/LabelAbstract.js +1 -1
- package/dist/narration/decorators/label-decorator.cjs +1 -1
- package/dist/narration/decorators/label-decorator.d.cts +17 -28
- package/dist/narration/decorators/label-decorator.d.ts +17 -28
- package/dist/narration/decorators/label-decorator.js +1 -1
- package/dist/narration/decorators/newLabel.cjs +1 -0
- package/dist/narration/decorators/newLabel.d.cts +18 -0
- package/dist/narration/decorators/newLabel.d.ts +18 -0
- package/dist/narration/decorators/newLabel.js +1 -0
- package/dist/narration/index.cjs +49 -49
- package/dist/narration/index.d.cts +3 -2
- package/dist/narration/index.d.ts +3 -2
- package/dist/narration/index.js +49 -49
- package/dist/narration/interfaces/HistoryStep.d.cts +1 -1
- package/dist/narration/interfaces/HistoryStep.d.ts +1 -1
- package/dist/narration/interfaces/NarrationGameState.d.cts +1 -1
- package/dist/narration/interfaces/NarrationGameState.d.ts +1 -1
- package/dist/narration/interfaces/NarrationManagerInterface.d.cts +7 -7
- package/dist/narration/interfaces/NarrationManagerInterface.d.ts +7 -7
- package/dist/narration/types/ChoiceMenuOptionsType.d.cts +1 -1
- package/dist/narration/types/ChoiceMenuOptionsType.d.ts +1 -1
- package/dist/pixi-devtools/additionalPositionsProperties.cjs +1 -1
- package/dist/pixi-devtools/additionalPositionsProperties.js +1 -1
- package/dist/sound/SoundManager.cjs +48 -48
- package/dist/sound/SoundManager.js +48 -48
- package/dist/sound/index.cjs +48 -48
- package/dist/sound/index.js +48 -48
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';Object.defineProperty(exports,'__esModule',{value:true});var o;(a=>(a.log=(n,...r)=>console.log(`[Pixi\u2019VN] ${n}`,...r),a.warn=(n,...r)=>console.warn(`[Pixi\u2019VN] ${n}`,...r),a.error=(n,...r)=>console.error(`[Pixi\u2019VN] ${n}`,...r),a.info=(n,...r)=>console.info(`[Pixi\u2019VN] ${n}`,...r)))(o||={});var i=
|
|
1
|
+
'use strict';Object.defineProperty(exports,'__esModule',{value:true});var o;(a=>(a.log=(n,...r)=>console.log(`[Pixi\u2019VN] ${n}`,...r),a.warn=(n,...r)=>console.warn(`[Pixi\u2019VN] ${n}`,...r),a.error=(n,...r)=>console.error(`[Pixi\u2019VN] ${n}`,...r),a.info=(n,...r)=>console.info(`[Pixi\u2019VN] ${n}`,...r)))(o||={});var i=new Map;function v(e){return function(t){e||(e=t.name),i.get(e)&&o.info(`Event ${e} already exists, it will be overwritten`),t.prototype.id=e,i.set(e,t);}}function c(e){try{let t=i.get(e);if(!t){o.error(`Event ${e} not found, did you forget to register it with the eventDecorator?`);return}return new t,t}catch(t){o.error(`Error while getting Event ${e}`,t);return}}function E(e){try{let t=i.get(e);if(!t){o.error(`Event ${e} not found, did you forget to register it with the eventDecorator?`);return}return new t}catch(t){o.error(`Error while getting Event ${e}`,t);return}}exports.default=v;exports.getEventInstanceById=E;exports.getEventTypeById=c;exports.registeredEvents=i;
|
|
@@ -8,9 +8,7 @@ import '../types/CanvasEventNamesType.cjs';
|
|
|
8
8
|
/**
|
|
9
9
|
* Canvas Event Register
|
|
10
10
|
*/
|
|
11
|
-
declare const registeredEvents:
|
|
12
|
-
[name: EventIdType]: typeof CanvasEvent<CanvasEventNamesType>;
|
|
13
|
-
};
|
|
11
|
+
declare const registeredEvents: Map<string, typeof CanvasEvent<CanvasEventNamesType>>;
|
|
14
12
|
/**
|
|
15
13
|
* Is a decorator that register a event in the game.
|
|
16
14
|
* Is a required decorator for use the event in the game.
|
|
@@ -8,9 +8,7 @@ import '../types/CanvasEventNamesType.js';
|
|
|
8
8
|
/**
|
|
9
9
|
* Canvas Event Register
|
|
10
10
|
*/
|
|
11
|
-
declare const registeredEvents:
|
|
12
|
-
[name: EventIdType]: typeof CanvasEvent<CanvasEventNamesType>;
|
|
13
|
-
};
|
|
11
|
+
declare const registeredEvents: Map<string, typeof CanvasEvent<CanvasEventNamesType>>;
|
|
14
12
|
/**
|
|
15
13
|
* Is a decorator that register a event in the game.
|
|
16
14
|
* Is a required decorator for use the event in the game.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var o;(a=>(a.log=(n,...r)=>console.log(`[Pixi\u2019VN] ${n}`,...r),a.warn=(n,...r)=>console.warn(`[Pixi\u2019VN] ${n}`,...r),a.error=(n,...r)=>console.error(`[Pixi\u2019VN] ${n}`,...r),a.info=(n,...r)=>console.info(`[Pixi\u2019VN] ${n}`,...r)))(o||={});var i=
|
|
1
|
+
var o;(a=>(a.log=(n,...r)=>console.log(`[Pixi\u2019VN] ${n}`,...r),a.warn=(n,...r)=>console.warn(`[Pixi\u2019VN] ${n}`,...r),a.error=(n,...r)=>console.error(`[Pixi\u2019VN] ${n}`,...r),a.info=(n,...r)=>console.info(`[Pixi\u2019VN] ${n}`,...r)))(o||={});var i=new Map;function v(e){return function(t){e||(e=t.name),i.get(e)&&o.info(`Event ${e} already exists, it will be overwritten`),t.prototype.id=e,i.set(e,t);}}function c(e){try{let t=i.get(e);if(!t){o.error(`Event ${e} not found, did you forget to register it with the eventDecorator?`);return}return new t,t}catch(t){o.error(`Error while getting Event ${e}`,t);return}}function E(e){try{let t=i.get(e);if(!t){o.error(`Event ${e} not found, did you forget to register it with the eventDecorator?`);return}return new t}catch(t){o.error(`Error while getting Event ${e}`,t);return}}export{v as default,E as getEventInstanceById,c as getEventTypeById,i as registeredEvents};
|