@drincs/pixi-vn 0.4.7 → 0.4.8
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/TickerBase-CFEJHstJ.d.mts +73 -0
- package/dist/TickerBase-CjfyD6j5.d.ts +73 -0
- package/dist/classes/CanvasEvent.d.mts +24 -0
- package/dist/classes/CanvasEvent.d.ts +24 -0
- package/dist/classes/CanvasEvent.js +12 -0
- package/dist/classes/CanvasEvent.js.map +1 -0
- package/dist/classes/CanvasEvent.mjs +10 -0
- package/dist/classes/CanvasEvent.mjs.map +1 -0
- package/dist/classes/CharacterBaseModel.d.mts +90 -0
- package/dist/classes/CharacterBaseModel.d.ts +90 -0
- package/dist/classes/CharacterBaseModel.js +1529 -0
- package/dist/classes/CharacterBaseModel.js.map +1 -0
- package/dist/classes/CharacterBaseModel.mjs +1527 -0
- package/dist/classes/CharacterBaseModel.mjs.map +1 -0
- package/dist/classes/ChoiceMenuOptionLabel.d.mts +42 -0
- package/dist/classes/ChoiceMenuOptionLabel.d.ts +42 -0
- package/dist/classes/ChoiceMenuOptionLabel.js +19 -0
- package/dist/classes/ChoiceMenuOptionLabel.js.map +1 -0
- package/dist/classes/ChoiceMenuOptionLabel.mjs +17 -0
- package/dist/classes/ChoiceMenuOptionLabel.mjs.map +1 -0
- package/dist/classes/DialogueBaseModel.d.mts +58 -0
- package/dist/classes/DialogueBaseModel.d.ts +58 -0
- package/dist/classes/DialogueBaseModel.js +51 -0
- package/dist/classes/DialogueBaseModel.js.map +1 -0
- package/dist/classes/DialogueBaseModel.mjs +49 -0
- package/dist/classes/DialogueBaseModel.mjs.map +1 -0
- package/dist/classes/Label.d.mts +46 -0
- package/dist/classes/Label.d.ts +46 -0
- package/dist/classes/Label.js +41 -0
- package/dist/classes/Label.js.map +1 -0
- package/dist/classes/Label.mjs +39 -0
- package/dist/classes/Label.mjs.map +1 -0
- package/dist/classes/StoredClassModel.d.mts +55 -0
- package/dist/classes/StoredClassModel.d.ts +55 -0
- package/dist/classes/StoredClassModel.js +1470 -0
- package/dist/classes/StoredClassModel.js.map +1 -0
- package/dist/classes/StoredClassModel.mjs +1468 -0
- package/dist/classes/StoredClassModel.mjs.map +1 -0
- package/dist/classes/canvas/CanvasBase.d.mts +37 -0
- package/dist/classes/canvas/CanvasBase.d.ts +37 -0
- package/dist/classes/canvas/CanvasBase.js +23 -0
- package/dist/classes/canvas/CanvasBase.js.map +1 -0
- package/dist/classes/canvas/CanvasBase.mjs +21 -0
- package/dist/classes/canvas/CanvasBase.mjs.map +1 -0
- package/dist/classes/canvas/CanvasContainer.d.mts +30 -0
- package/dist/classes/canvas/CanvasContainer.d.ts +30 -0
- package/dist/classes/canvas/CanvasContainer.js +514 -0
- package/dist/classes/canvas/CanvasContainer.js.map +1 -0
- package/dist/classes/canvas/CanvasContainer.mjs +508 -0
- package/dist/classes/canvas/CanvasContainer.mjs.map +1 -0
- package/dist/classes/canvas/CanvasImage.d.mts +50 -0
- package/dist/classes/canvas/CanvasImage.d.ts +50 -0
- package/dist/classes/canvas/CanvasImage.js +326 -0
- package/dist/classes/canvas/CanvasImage.js.map +1 -0
- package/dist/classes/canvas/CanvasImage.mjs +324 -0
- package/dist/classes/canvas/CanvasImage.mjs.map +1 -0
- package/dist/classes/canvas/CanvasSprite.d.mts +90 -0
- package/dist/classes/canvas/CanvasSprite.d.ts +90 -0
- package/dist/classes/canvas/CanvasSprite.js +285 -0
- package/dist/classes/canvas/CanvasSprite.js.map +1 -0
- package/dist/classes/canvas/CanvasSprite.mjs +279 -0
- package/dist/classes/canvas/CanvasSprite.mjs.map +1 -0
- package/dist/classes/canvas/CanvasText.d.mts +79 -0
- package/dist/classes/canvas/CanvasText.d.ts +79 -0
- package/dist/classes/canvas/CanvasText.js +259 -0
- package/dist/classes/canvas/CanvasText.js.map +1 -0
- package/dist/classes/canvas/CanvasText.mjs +253 -0
- package/dist/classes/canvas/CanvasText.mjs.map +1 -0
- package/dist/classes/canvas/index.d.mts +15 -0
- package/dist/classes/canvas/index.d.ts +15 -0
- package/dist/classes/canvas/index.js +528 -0
- package/dist/classes/canvas/index.js.map +1 -0
- package/dist/classes/canvas/index.mjs +522 -0
- package/dist/classes/canvas/index.mjs.map +1 -0
- package/dist/classes/index.d.mts +14 -0
- package/dist/classes/index.d.ts +14 -0
- package/dist/classes/index.js +1633 -0
- package/dist/classes/index.js.map +1 -0
- package/dist/classes/index.mjs +1626 -0
- package/dist/classes/index.mjs.map +1 -0
- package/dist/classes/ticker/TickerBase.d.mts +3 -0
- package/dist/classes/ticker/TickerBase.d.ts +3 -0
- package/dist/classes/ticker/TickerBase.js +29 -0
- package/dist/classes/ticker/TickerBase.js.map +1 -0
- package/dist/classes/ticker/TickerBase.mjs +27 -0
- package/dist/classes/ticker/TickerBase.mjs.map +1 -0
- package/dist/classes/ticker/TickerFadeAlpha.d.mts +31 -0
- package/dist/classes/ticker/TickerFadeAlpha.d.ts +31 -0
- package/dist/classes/ticker/TickerFadeAlpha.js +1330 -0
- package/dist/classes/ticker/TickerFadeAlpha.js.map +1 -0
- package/dist/classes/ticker/TickerFadeAlpha.mjs +1328 -0
- package/dist/classes/ticker/TickerFadeAlpha.mjs.map +1 -0
- package/dist/classes/ticker/TickerMove.d.mts +29 -0
- package/dist/classes/ticker/TickerMove.d.ts +29 -0
- package/dist/classes/ticker/TickerMove.js +1328 -0
- package/dist/classes/ticker/TickerMove.js.map +1 -0
- package/dist/classes/ticker/TickerMove.mjs +1326 -0
- package/dist/classes/ticker/TickerMove.mjs.map +1 -0
- package/dist/classes/ticker/TickerRotate.d.mts +30 -0
- package/dist/classes/ticker/TickerRotate.d.ts +30 -0
- package/dist/classes/ticker/TickerRotate.js +1328 -0
- package/dist/classes/ticker/TickerRotate.js.map +1 -0
- package/dist/classes/ticker/TickerRotate.mjs +1326 -0
- package/dist/classes/ticker/TickerRotate.mjs.map +1 -0
- package/dist/classes/ticker/index.d.mts +10 -0
- package/dist/classes/ticker/index.d.ts +10 -0
- package/dist/classes/ticker/index.js +1330 -0
- package/dist/classes/ticker/index.js.map +1 -0
- package/dist/classes/ticker/index.mjs +1328 -0
- package/dist/classes/ticker/index.mjs.map +1 -0
- package/dist/constants.d.mts +3 -0
- package/dist/constants.d.ts +3 -0
- package/dist/constants.js +8 -0
- package/dist/constants.js.map +1 -0
- package/dist/constants.mjs +6 -0
- package/dist/constants.mjs.map +1 -0
- package/dist/decorators/CanvasElementDecorator.d.mts +18 -0
- package/dist/decorators/CanvasElementDecorator.d.ts +18 -0
- package/dist/decorators/CanvasElementDecorator.js +540 -0
- package/dist/decorators/CanvasElementDecorator.js.map +1 -0
- package/dist/decorators/CanvasElementDecorator.mjs +533 -0
- package/dist/decorators/CanvasElementDecorator.mjs.map +1 -0
- package/dist/decorators/CharacterDecorator.d.mts +39 -0
- package/dist/decorators/CharacterDecorator.d.ts +39 -0
- package/dist/decorators/CharacterDecorator.js +37 -0
- package/dist/decorators/CharacterDecorator.js.map +1 -0
- package/dist/decorators/CharacterDecorator.mjs +32 -0
- package/dist/decorators/CharacterDecorator.mjs.map +1 -0
- package/dist/decorators/EventDecorator.d.mts +35 -0
- package/dist/decorators/EventDecorator.d.ts +35 -0
- package/dist/decorators/EventDecorator.js +52 -0
- package/dist/decorators/EventDecorator.js.map +1 -0
- package/dist/decorators/EventDecorator.mjs +45 -0
- package/dist/decorators/EventDecorator.mjs.map +1 -0
- package/dist/decorators/LabelDecorator.d.mts +32 -0
- package/dist/decorators/LabelDecorator.d.ts +32 -0
- package/dist/decorators/LabelDecorator.js +56 -0
- package/dist/decorators/LabelDecorator.js.map +1 -0
- package/dist/decorators/LabelDecorator.mjs +49 -0
- package/dist/decorators/LabelDecorator.mjs.map +1 -0
- package/dist/decorators/TickerDecorator.d.mts +27 -0
- package/dist/decorators/TickerDecorator.d.ts +27 -0
- package/dist/decorators/TickerDecorator.js +36 -0
- package/dist/decorators/TickerDecorator.js.map +1 -0
- package/dist/decorators/TickerDecorator.mjs +30 -0
- package/dist/decorators/TickerDecorator.mjs.map +1 -0
- package/dist/decorators/index.d.mts +23 -0
- package/dist/decorators/index.d.ts +23 -0
- package/dist/decorators/index.js +100 -0
- package/dist/decorators/index.js.map +1 -0
- package/dist/decorators/index.mjs +92 -0
- package/dist/decorators/index.mjs.map +1 -0
- package/dist/enums/LabelRunModeEnum.d.mts +9 -0
- package/dist/enums/LabelRunModeEnum.d.ts +9 -0
- package/dist/enums/LabelRunModeEnum.js +12 -0
- package/dist/enums/LabelRunModeEnum.js.map +1 -0
- package/dist/enums/LabelRunModeEnum.mjs +10 -0
- package/dist/enums/LabelRunModeEnum.mjs.map +1 -0
- package/dist/enums/index.d.mts +1 -0
- package/dist/enums/index.d.ts +1 -0
- package/dist/enums/index.js +12 -0
- package/dist/enums/index.js.map +1 -0
- package/dist/enums/index.mjs +10 -0
- package/dist/enums/index.mjs.map +1 -0
- package/dist/functions/CanvasUtility.d.mts +25 -0
- package/dist/functions/CanvasUtility.d.ts +25 -0
- package/dist/functions/CanvasUtility.js +510 -0
- package/dist/functions/CanvasUtility.js.map +1 -0
- package/dist/functions/CanvasUtility.mjs +506 -0
- package/dist/functions/CanvasUtility.mjs.map +1 -0
- package/dist/functions/DialogueUtility.d.mts +72 -0
- package/dist/functions/DialogueUtility.d.ts +72 -0
- package/dist/functions/DialogueUtility.js +2189 -0
- package/dist/functions/DialogueUtility.js.map +1 -0
- package/dist/functions/DialogueUtility.mjs +2177 -0
- package/dist/functions/DialogueUtility.mjs.map +1 -0
- package/dist/functions/DiffUtility.d.mts +5 -0
- package/dist/functions/DiffUtility.d.ts +5 -0
- package/dist/functions/DiffUtility.js +57 -0
- package/dist/functions/DiffUtility.js.map +1 -0
- package/dist/functions/DiffUtility.mjs +55 -0
- package/dist/functions/DiffUtility.mjs.map +1 -0
- package/dist/functions/EasterEgg.d.mts +3 -0
- package/dist/functions/EasterEgg.d.ts +3 -0
- package/dist/functions/EasterEgg.js +16 -0
- package/dist/functions/EasterEgg.js.map +1 -0
- package/dist/functions/EasterEgg.mjs +14 -0
- package/dist/functions/EasterEgg.mjs.map +1 -0
- package/dist/functions/ErrorUtility.d.mts +24 -0
- package/dist/functions/ErrorUtility.d.ts +24 -0
- package/dist/functions/ErrorUtility.js +261 -0
- package/dist/functions/ErrorUtility.js.map +1 -0
- package/dist/functions/ErrorUtility.mjs +258 -0
- package/dist/functions/ErrorUtility.mjs.map +1 -0
- package/dist/functions/ExportUtility.d.mts +8 -0
- package/dist/functions/ExportUtility.d.ts +8 -0
- package/dist/functions/ExportUtility.js +16 -0
- package/dist/functions/ExportUtility.js.map +1 -0
- package/dist/functions/ExportUtility.mjs +14 -0
- package/dist/functions/ExportUtility.mjs.map +1 -0
- package/dist/functions/FlagsUtility.d.mts +14 -0
- package/dist/functions/FlagsUtility.d.ts +14 -0
- package/dist/functions/FlagsUtility.js +1436 -0
- package/dist/functions/FlagsUtility.js.map +1 -0
- package/dist/functions/FlagsUtility.mjs +1433 -0
- package/dist/functions/FlagsUtility.mjs.map +1 -0
- package/dist/functions/GameUtility.d.mts +6 -0
- package/dist/functions/GameUtility.d.ts +6 -0
- package/dist/functions/GameUtility.js +1335 -0
- package/dist/functions/GameUtility.js.map +1 -0
- package/dist/functions/GameUtility.mjs +1333 -0
- package/dist/functions/GameUtility.mjs.map +1 -0
- package/dist/functions/ImageUtility.d.mts +51 -0
- package/dist/functions/ImageUtility.d.ts +51 -0
- package/dist/functions/ImageUtility.js +1392 -0
- package/dist/functions/ImageUtility.js.map +1 -0
- package/dist/functions/ImageUtility.mjs +1387 -0
- package/dist/functions/ImageUtility.mjs.map +1 -0
- package/dist/functions/SavesUtility.d.mts +90 -0
- package/dist/functions/SavesUtility.d.ts +90 -0
- package/dist/functions/SavesUtility.js +2081 -0
- package/dist/functions/SavesUtility.js.map +1 -0
- package/dist/functions/SavesUtility.mjs +2071 -0
- package/dist/functions/SavesUtility.mjs.map +1 -0
- package/dist/functions/StepLabelUtility.d.mts +20 -0
- package/dist/functions/StepLabelUtility.d.ts +20 -0
- package/dist/functions/StepLabelUtility.js +21 -0
- package/dist/functions/StepLabelUtility.js.map +1 -0
- package/dist/functions/StepLabelUtility.mjs +14 -0
- package/dist/functions/StepLabelUtility.mjs.map +1 -0
- package/dist/functions/TextureUtility.d.mts +11 -0
- package/dist/functions/TextureUtility.d.ts +11 -0
- package/dist/functions/TextureUtility.js +78 -0
- package/dist/functions/TextureUtility.js.map +1 -0
- package/dist/functions/TextureUtility.mjs +75 -0
- package/dist/functions/TextureUtility.mjs.map +1 -0
- package/dist/functions/TickerUtility.d.mts +13 -0
- package/dist/functions/TickerUtility.d.ts +13 -0
- package/dist/functions/TickerUtility.js +33 -0
- package/dist/functions/TickerUtility.js.map +1 -0
- package/dist/functions/TickerUtility.mjs +31 -0
- package/dist/functions/TickerUtility.mjs.map +1 -0
- package/dist/functions/index.d.mts +41 -0
- package/dist/functions/index.d.ts +41 -0
- package/dist/functions/index.js +2313 -0
- package/dist/functions/index.js.map +1 -0
- package/dist/functions/index.mjs +2289 -0
- package/dist/functions/index.mjs.map +1 -0
- package/dist/index.d.mts +63 -1773
- package/dist/index.d.ts +63 -1773
- package/dist/index.js +89 -197
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -98
- package/dist/index.mjs.map +1 -1
- package/dist/interface/IClassWithArgsHistory.d.mts +25 -0
- package/dist/interface/IClassWithArgsHistory.d.ts +25 -0
- package/dist/interface/IClassWithArgsHistory.js +4 -0
- package/dist/interface/IClassWithArgsHistory.js.map +1 -0
- package/dist/interface/IClassWithArgsHistory.mjs +3 -0
- package/dist/interface/IClassWithArgsHistory.mjs.map +1 -0
- package/dist/interface/IDialogueHistory.d.mts +33 -0
- package/dist/interface/IDialogueHistory.d.ts +33 -0
- package/dist/interface/IDialogueHistory.js +4 -0
- package/dist/interface/IDialogueHistory.js.map +1 -0
- package/dist/interface/IDialogueHistory.mjs +3 -0
- package/dist/interface/IDialogueHistory.mjs.map +1 -0
- package/dist/interface/IHistoryStep.d.mts +75 -0
- package/dist/interface/IHistoryStep.d.ts +75 -0
- package/dist/interface/IHistoryStep.js +4 -0
- package/dist/interface/IHistoryStep.js.map +1 -0
- package/dist/interface/IHistoryStep.mjs +3 -0
- package/dist/interface/IHistoryStep.mjs.map +1 -0
- package/dist/interface/IOpenedLabel.d.mts +8 -0
- package/dist/interface/IOpenedLabel.d.ts +8 -0
- package/dist/interface/IOpenedLabel.js +4 -0
- package/dist/interface/IOpenedLabel.js.map +1 -0
- package/dist/interface/IOpenedLabel.mjs +3 -0
- package/dist/interface/IOpenedLabel.mjs.map +1 -0
- package/dist/interface/ISaveData.d.mts +33 -0
- package/dist/interface/ISaveData.d.ts +33 -0
- package/dist/interface/ISaveData.js +4 -0
- package/dist/interface/ISaveData.js.map +1 -0
- package/dist/interface/ISaveData.mjs +3 -0
- package/dist/interface/ISaveData.mjs.map +1 -0
- package/dist/interface/ITicker.d.mts +3 -0
- package/dist/interface/ITicker.d.ts +3 -0
- package/dist/interface/ITicker.js +4 -0
- package/dist/interface/ITicker.js.map +1 -0
- package/dist/interface/ITicker.mjs +3 -0
- package/dist/interface/ITicker.mjs.map +1 -0
- package/dist/interface/ITickersSteps.d.mts +31 -0
- package/dist/interface/ITickersSteps.d.ts +31 -0
- package/dist/interface/ITickersSteps.js +4 -0
- package/dist/interface/ITickersSteps.js.map +1 -0
- package/dist/interface/ITickersSteps.mjs +3 -0
- package/dist/interface/ITickersSteps.mjs.map +1 -0
- package/dist/interface/TickerProgrationType.d.mts +13 -0
- package/dist/interface/TickerProgrationType.d.ts +13 -0
- package/dist/interface/TickerProgrationType.js +4 -0
- package/dist/interface/TickerProgrationType.js.map +1 -0
- package/dist/interface/TickerProgrationType.mjs +3 -0
- package/dist/interface/TickerProgrationType.mjs.map +1 -0
- package/dist/interface/canvas/ICanvasBaseMemory.d.mts +8 -0
- package/dist/interface/canvas/ICanvasBaseMemory.d.ts +8 -0
- package/dist/interface/canvas/ICanvasBaseMemory.js +4 -0
- package/dist/interface/canvas/ICanvasBaseMemory.js.map +1 -0
- package/dist/interface/canvas/ICanvasBaseMemory.mjs +3 -0
- package/dist/interface/canvas/ICanvasBaseMemory.mjs.map +1 -0
- package/dist/interface/canvas/ICanvasContainerMemory.d.mts +11 -0
- package/dist/interface/canvas/ICanvasContainerMemory.d.ts +11 -0
- package/dist/interface/canvas/ICanvasContainerMemory.js +4 -0
- package/dist/interface/canvas/ICanvasContainerMemory.js.map +1 -0
- package/dist/interface/canvas/ICanvasContainerMemory.mjs +3 -0
- package/dist/interface/canvas/ICanvasContainerMemory.mjs.map +1 -0
- package/dist/interface/canvas/ICanvasImageMemory.d.mts +14 -0
- package/dist/interface/canvas/ICanvasImageMemory.d.ts +14 -0
- package/dist/interface/canvas/ICanvasImageMemory.js +4 -0
- package/dist/interface/canvas/ICanvasImageMemory.js.map +1 -0
- package/dist/interface/canvas/ICanvasImageMemory.mjs +3 -0
- package/dist/interface/canvas/ICanvasImageMemory.mjs.map +1 -0
- package/dist/interface/canvas/ICanvasSpriteMemory.d.mts +19 -0
- package/dist/interface/canvas/ICanvasSpriteMemory.d.ts +19 -0
- package/dist/interface/canvas/ICanvasSpriteMemory.js +4 -0
- package/dist/interface/canvas/ICanvasSpriteMemory.js.map +1 -0
- package/dist/interface/canvas/ICanvasSpriteMemory.mjs +3 -0
- package/dist/interface/canvas/ICanvasSpriteMemory.mjs.map +1 -0
- package/dist/interface/canvas/ICanvasTextTextMemory.d.mts +15 -0
- package/dist/interface/canvas/ICanvasTextTextMemory.d.ts +15 -0
- package/dist/interface/canvas/ICanvasTextTextMemory.js +4 -0
- package/dist/interface/canvas/ICanvasTextTextMemory.js.map +1 -0
- package/dist/interface/canvas/ICanvasTextTextMemory.mjs +3 -0
- package/dist/interface/canvas/ICanvasTextTextMemory.mjs.map +1 -0
- package/dist/interface/canvas/ITextureMemory.d.mts +8 -0
- package/dist/interface/canvas/ITextureMemory.d.ts +8 -0
- package/dist/interface/canvas/ITextureMemory.js +4 -0
- package/dist/interface/canvas/ITextureMemory.js.map +1 -0
- package/dist/interface/canvas/ITextureMemory.mjs +3 -0
- package/dist/interface/canvas/ITextureMemory.mjs.map +1 -0
- package/dist/interface/canvas/index.d.mts +8 -0
- package/dist/interface/canvas/index.d.ts +8 -0
- package/dist/interface/canvas/index.js +4 -0
- package/dist/interface/canvas/index.js.map +1 -0
- package/dist/interface/canvas/index.mjs +3 -0
- package/dist/interface/canvas/index.mjs.map +1 -0
- package/dist/interface/export/ExportedCanvas.d.mts +19 -0
- package/dist/interface/export/ExportedCanvas.d.ts +19 -0
- package/dist/interface/export/ExportedCanvas.js +4 -0
- package/dist/interface/export/ExportedCanvas.js.map +1 -0
- package/dist/interface/export/ExportedCanvas.mjs +3 -0
- package/dist/interface/export/ExportedCanvas.mjs.map +1 -0
- package/dist/interface/export/ExportedStep.d.mts +34 -0
- package/dist/interface/export/ExportedStep.d.ts +34 -0
- package/dist/interface/export/ExportedStep.js +4 -0
- package/dist/interface/export/ExportedStep.js.map +1 -0
- package/dist/interface/export/ExportedStep.mjs +3 -0
- package/dist/interface/export/ExportedStep.mjs.map +1 -0
- package/dist/interface/export/ExportedStorage.d.mts +10 -0
- package/dist/interface/export/ExportedStorage.d.ts +10 -0
- package/dist/interface/export/ExportedStorage.js +4 -0
- package/dist/interface/export/ExportedStorage.js.map +1 -0
- package/dist/interface/export/ExportedStorage.mjs +3 -0
- package/dist/interface/export/ExportedStorage.mjs.map +1 -0
- package/dist/interface/export/index.d.mts +23 -0
- package/dist/interface/export/index.d.ts +23 -0
- package/dist/interface/export/index.js +4 -0
- package/dist/interface/export/index.js.map +1 -0
- package/dist/interface/export/index.mjs +3 -0
- package/dist/interface/export/index.mjs.map +1 -0
- package/dist/interface/index.d.mts +29 -0
- package/dist/interface/index.d.ts +29 -0
- package/dist/interface/index.js +4 -0
- package/dist/interface/index.js.map +1 -0
- package/dist/interface/index.mjs +3 -0
- package/dist/interface/index.mjs.map +1 -0
- package/dist/managers/StepManager.d.mts +210 -0
- package/dist/managers/StepManager.d.ts +210 -0
- package/dist/managers/StepManager.js +2043 -0
- package/dist/managers/StepManager.js.map +1 -0
- package/dist/managers/StepManager.mjs +2037 -0
- package/dist/managers/StepManager.mjs.map +1 -0
- package/dist/managers/StorageManager.d.mts +45 -0
- package/dist/managers/StorageManager.d.ts +45 -0
- package/dist/managers/StorageManager.js +101 -0
- package/dist/managers/StorageManager.js.map +1 -0
- package/dist/managers/StorageManager.mjs +99 -0
- package/dist/managers/StorageManager.mjs.map +1 -0
- package/dist/managers/WindowManager.d.mts +265 -0
- package/dist/managers/WindowManager.d.ts +265 -0
- package/dist/managers/WindowManager.js +1142 -0
- package/dist/managers/WindowManager.js.map +1 -0
- package/dist/managers/WindowManager.mjs +1140 -0
- package/dist/managers/WindowManager.mjs.map +1 -0
- package/dist/managers/index.d.mts +30 -0
- package/dist/managers/index.d.ts +30 -0
- package/dist/managers/index.js +2049 -0
- package/dist/managers/index.js.map +1 -0
- package/dist/managers/index.mjs +2041 -0
- package/dist/managers/index.mjs.map +1 -0
- package/dist/override/StepLabelProps.d.mts +18 -0
- package/dist/override/StepLabelProps.d.ts +18 -0
- package/dist/override/StepLabelProps.js +4 -0
- package/dist/override/StepLabelProps.js.map +1 -0
- package/dist/override/StepLabelProps.mjs +3 -0
- package/dist/override/StepLabelProps.mjs.map +1 -0
- package/dist/override/StepLabelResult.d.mts +19 -0
- package/dist/override/StepLabelResult.d.ts +19 -0
- package/dist/override/StepLabelResult.js +4 -0
- package/dist/override/StepLabelResult.js.map +1 -0
- package/dist/override/StepLabelResult.mjs +3 -0
- package/dist/override/StepLabelResult.mjs.map +1 -0
- package/dist/override/index.d.mts +2 -0
- package/dist/override/index.d.ts +2 -0
- package/dist/override/index.js +4 -0
- package/dist/override/index.js.map +1 -0
- package/dist/override/index.mjs +3 -0
- package/dist/override/index.mjs.map +1 -0
- package/dist/types/CanvasElementTagType.d.mts +3 -0
- package/dist/types/CanvasElementTagType.d.ts +3 -0
- package/dist/types/CanvasElementTagType.js +4 -0
- package/dist/types/CanvasElementTagType.js.map +1 -0
- package/dist/types/CanvasElementTagType.mjs +3 -0
- package/dist/types/CanvasElementTagType.mjs.map +1 -0
- package/dist/types/CanvasEventNamesType.d.mts +6 -0
- package/dist/types/CanvasEventNamesType.d.ts +6 -0
- package/dist/types/CanvasEventNamesType.js +4 -0
- package/dist/types/CanvasEventNamesType.js.map +1 -0
- package/dist/types/CanvasEventNamesType.mjs +3 -0
- package/dist/types/CanvasEventNamesType.mjs.map +1 -0
- package/dist/types/ChoiceMenuOptionsType.d.mts +16 -0
- package/dist/types/ChoiceMenuOptionsType.d.ts +16 -0
- package/dist/types/ChoiceMenuOptionsType.js +4 -0
- package/dist/types/ChoiceMenuOptionsType.js.map +1 -0
- package/dist/types/ChoiceMenuOptionsType.mjs +3 -0
- package/dist/types/ChoiceMenuOptionsType.mjs.map +1 -0
- package/dist/types/EventIdType.d.mts +3 -0
- package/dist/types/EventIdType.d.ts +3 -0
- package/dist/types/EventIdType.js +4 -0
- package/dist/types/EventIdType.js.map +1 -0
- package/dist/types/EventIdType.mjs +3 -0
- package/dist/types/EventIdType.mjs.map +1 -0
- package/dist/types/LabelIdType.d.mts +7 -0
- package/dist/types/LabelIdType.d.ts +7 -0
- package/dist/types/LabelIdType.js +4 -0
- package/dist/types/LabelIdType.js.map +1 -0
- package/dist/types/LabelIdType.mjs +3 -0
- package/dist/types/LabelIdType.mjs.map +1 -0
- package/dist/types/PauseType.d.mts +8 -0
- package/dist/types/PauseType.d.ts +8 -0
- package/dist/types/PauseType.js +15 -0
- package/dist/types/PauseType.js.map +1 -0
- package/dist/types/PauseType.mjs +12 -0
- package/dist/types/PauseType.mjs.map +1 -0
- package/dist/types/RepeatType.d.mts +4 -0
- package/dist/types/RepeatType.d.ts +4 -0
- package/dist/types/RepeatType.js +8 -0
- package/dist/types/RepeatType.js.map +1 -0
- package/dist/types/RepeatType.mjs +6 -0
- package/dist/types/RepeatType.mjs.map +1 -0
- package/dist/types/StepHistoryDataType.d.mts +8 -0
- package/dist/types/StepHistoryDataType.d.ts +8 -0
- package/dist/types/StepHistoryDataType.js +4 -0
- package/dist/types/StepHistoryDataType.js.map +1 -0
- package/dist/types/StepHistoryDataType.mjs +3 -0
- package/dist/types/StepHistoryDataType.mjs.map +1 -0
- package/dist/types/StepLabelType.d.mts +11 -0
- package/dist/types/StepLabelType.d.ts +11 -0
- package/dist/types/StepLabelType.js +4 -0
- package/dist/types/StepLabelType.js.map +1 -0
- package/dist/types/StepLabelType.mjs +3 -0
- package/dist/types/StepLabelType.mjs.map +1 -0
- package/dist/types/StorageElementType.d.mts +10 -0
- package/dist/types/StorageElementType.d.ts +10 -0
- package/dist/types/StorageElementType.js +4 -0
- package/dist/types/StorageElementType.js.map +1 -0
- package/dist/types/StorageElementType.mjs +3 -0
- package/dist/types/StorageElementType.mjs.map +1 -0
- package/dist/types/TickerIdType.d.mts +7 -0
- package/dist/types/TickerIdType.d.ts +7 -0
- package/dist/types/TickerIdType.js +4 -0
- package/dist/types/TickerIdType.js.map +1 -0
- package/dist/types/TickerIdType.mjs +3 -0
- package/dist/types/TickerIdType.mjs.map +1 -0
- package/dist/types/index.d.mts +13 -0
- package/dist/types/index.d.ts +13 -0
- package/dist/types/index.js +19 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/index.mjs +15 -0
- package/dist/types/index.mjs.map +1 -0
- package/dist/types/ticker/TickerFadeAlphaProps.d.mts +26 -0
- package/dist/types/ticker/TickerFadeAlphaProps.d.ts +26 -0
- package/dist/types/ticker/TickerFadeAlphaProps.js +4 -0
- package/dist/types/ticker/TickerFadeAlphaProps.js.map +1 -0
- package/dist/types/ticker/TickerFadeAlphaProps.mjs +3 -0
- package/dist/types/ticker/TickerFadeAlphaProps.mjs.map +1 -0
- package/dist/types/ticker/TickerMoveProps.d.mts +26 -0
- package/dist/types/ticker/TickerMoveProps.d.ts +26 -0
- package/dist/types/ticker/TickerMoveProps.js +4 -0
- package/dist/types/ticker/TickerMoveProps.js.map +1 -0
- package/dist/types/ticker/TickerMoveProps.mjs +3 -0
- package/dist/types/ticker/TickerMoveProps.mjs.map +1 -0
- package/dist/types/ticker/TickerRotateProps.d.mts +24 -0
- package/dist/types/ticker/TickerRotateProps.d.ts +24 -0
- package/dist/types/ticker/TickerRotateProps.js +4 -0
- package/dist/types/ticker/TickerRotateProps.js.map +1 -0
- package/dist/types/ticker/TickerRotateProps.mjs +3 -0
- package/dist/types/ticker/TickerRotateProps.mjs.map +1 -0
- package/dist/types/ticker/index.d.mts +3 -0
- package/dist/types/ticker/index.d.ts +3 -0
- package/dist/types/ticker/index.js +4 -0
- package/dist/types/ticker/index.js.map +1 -0
- package/dist/types/ticker/index.mjs +3 -0
- package/dist/types/ticker/index.mjs.map +1 -0
- package/package.json +2 -1
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
// src/functions/ExportUtility.ts
|
|
2
|
+
function createExportableElement(element) {
|
|
3
|
+
try {
|
|
4
|
+
let elementString = JSON.stringify(element);
|
|
5
|
+
return JSON.parse(elementString);
|
|
6
|
+
} catch (e) {
|
|
7
|
+
console.error("[Pixi'VN] Error creating exportable element", e);
|
|
8
|
+
throw new Error("[Pixi'VN] Error creating exportable element");
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// src/managers/StorageManager.ts
|
|
13
|
+
var _GameStorageManager = class _GameStorageManager {
|
|
14
|
+
constructor() {
|
|
15
|
+
}
|
|
16
|
+
static get keysSystem() {
|
|
17
|
+
return {
|
|
18
|
+
CURRENT_DIALOGUE_MEMORY_KEY: "___current_dialogue_memory___",
|
|
19
|
+
LAST_DIALOGUE_ADDED_IN_STEP_MEMORY_KEY: "___last_dialogue_added_in_step_memory___",
|
|
20
|
+
CURRENT_MENU_OPTIONS_MEMORY_KEY: "___current_menu_options_memory___",
|
|
21
|
+
LAST_MENU_OPTIONS_ADDED_IN_STEP_MEMORY_KEY: "___last_menu_options_added_in_step_memory___",
|
|
22
|
+
CHARACTER_CATEGORY_KEY: "___character___",
|
|
23
|
+
FLAGS_CATEGORY_KEY: "___flags___"
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Set a variable in the storage
|
|
28
|
+
* @param key The key of the variable
|
|
29
|
+
* @param value The value of the variable. If undefined, the variable will be removed
|
|
30
|
+
* @returns
|
|
31
|
+
*/
|
|
32
|
+
static setVariable(key, value) {
|
|
33
|
+
key = key.toLowerCase();
|
|
34
|
+
if (value === void 0 || value === null) {
|
|
35
|
+
if (_GameStorageManager.storage.hasOwnProperty(key)) {
|
|
36
|
+
delete _GameStorageManager.storage[key];
|
|
37
|
+
}
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
_GameStorageManager.storage[key] = value;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Get a variable from the storage
|
|
44
|
+
* @param key The key of the variable
|
|
45
|
+
* @returns The value of the variable. If the variable does not exist, it will return undefined
|
|
46
|
+
*/
|
|
47
|
+
static getVariable(key) {
|
|
48
|
+
key = key.toLowerCase();
|
|
49
|
+
if (_GameStorageManager.storage.hasOwnProperty(key)) {
|
|
50
|
+
return _GameStorageManager.storage[key];
|
|
51
|
+
}
|
|
52
|
+
return void 0;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Remove a variable from the storage
|
|
56
|
+
* @param key The key of the variable
|
|
57
|
+
* @returns
|
|
58
|
+
*/
|
|
59
|
+
static removeVariable(key) {
|
|
60
|
+
key = key.toLowerCase();
|
|
61
|
+
if (_GameStorageManager.storage.hasOwnProperty(key)) {
|
|
62
|
+
delete _GameStorageManager.storage[key];
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Clear the storage and the oidsUsed
|
|
67
|
+
* @returns
|
|
68
|
+
*/
|
|
69
|
+
static clear() {
|
|
70
|
+
_GameStorageManager.storage = {};
|
|
71
|
+
}
|
|
72
|
+
static exportJson() {
|
|
73
|
+
return JSON.stringify(this.export());
|
|
74
|
+
}
|
|
75
|
+
static export() {
|
|
76
|
+
return createExportableElement(_GameStorageManager.storage);
|
|
77
|
+
}
|
|
78
|
+
static importJson(dataString) {
|
|
79
|
+
_GameStorageManager.import(JSON.parse(dataString));
|
|
80
|
+
}
|
|
81
|
+
static import(data) {
|
|
82
|
+
_GameStorageManager.clear();
|
|
83
|
+
try {
|
|
84
|
+
if (data) {
|
|
85
|
+
_GameStorageManager.storage = data;
|
|
86
|
+
} else {
|
|
87
|
+
console.warn("[Pixi'VN] No storage data found");
|
|
88
|
+
}
|
|
89
|
+
} catch (e) {
|
|
90
|
+
console.error("[Pixi'VN] Error importing data", e);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
_GameStorageManager.storage = {};
|
|
95
|
+
var GameStorageManager = _GameStorageManager;
|
|
96
|
+
|
|
97
|
+
export { GameStorageManager as default };
|
|
98
|
+
//# sourceMappingURL=out.js.map
|
|
99
|
+
//# sourceMappingURL=StorageManager.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/functions/ExportUtility.ts","../../src/managers/StorageManager.ts"],"names":[],"mappings":";AAKO,SAAS,wBAA2B,SAAe;AACtD,MAAI;AACA,QAAI,gBAAgB,KAAK,UAAU,OAAO;AAC1C,WAAO,KAAK,MAAM,aAAa;AAAA,EACnC,SACO,GAAG;AACN,YAAQ,MAAM,+CAA+C,CAAC;AAC9D,UAAM,IAAI,MAAM,6CAA6C;AAAA,EACjE;AACJ;;;ACVA,IAAqB,sBAArB,MAAqB,oBAAmB;AAAA,EAE5B,cAAc;AAAA,EAAE;AAAA,EACxB,WAAkB,aAAa;AAC3B,WAAO;AAAA,MACH,6BAA6B;AAAA,MAC7B,wCAAwC;AAAA,MACxC,iCAAiC;AAAA,MACjC,4CAA4C;AAAA,MAC5C,wBAAwB;AAAA,MACxB,oBAAoB;AAAA,IACxB;AAAA,EACJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,OAAc,YAAY,KAAa,OAA2B;AAC9D,UAAM,IAAI,YAAY;AACtB,QAAI,UAAU,UAAa,UAAU,MAAM;AACvC,UAAI,oBAAmB,QAAQ,eAAe,GAAG,GAAG;AAChD,eAAO,oBAAmB,QAAQ,GAAG;AAAA,MACzC;AACA;AAAA,IACJ;AACA,wBAAmB,QAAQ,GAAG,IAAI;AAAA,EACtC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,OAAc,YAA0C,KAA4B;AAChF,UAAM,IAAI,YAAY;AACtB,QAAI,oBAAmB,QAAQ,eAAe,GAAG,GAAG;AAChD,aAAO,oBAAmB,QAAQ,GAAG;AAAA,IACzC;AACA,WAAO;AAAA,EACX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,OAAc,eAAe,KAAa;AACtC,UAAM,IAAI,YAAY;AACtB,QAAI,oBAAmB,QAAQ,eAAe,GAAG,GAAG;AAChD,aAAO,oBAAmB,QAAQ,GAAG;AAAA,IACzC;AAAA,EACJ;AAAA;AAAA;AAAA;AAAA;AAAA,EAKA,OAAc,QAAQ;AAClB,wBAAmB,UAAU,CAAC;AAAA,EAClC;AAAA,EACA,OAAc,aAAqB;AAC/B,WAAO,KAAK,UAAU,KAAK,OAAO,CAAC;AAAA,EACvC;AAAA,EACA,OAAc,SAA0B;AACpC,WAAO,wBAAwB,oBAAmB,OAAO;AAAA,EAC7D;AAAA,EACA,OAAc,WAAW,YAAoB;AACzC,wBAAmB,OAAO,KAAK,MAAM,UAAU,CAAC;AAAA,EACpD;AAAA,EACA,OAAc,OAAO,MAAc;AAC/B,wBAAmB,MAAM;AACzB,QAAI;AACA,UAAI,MAAM;AACN,4BAAmB,UAAW;AAAA,MAClC,OACK;AACD,gBAAQ,KAAK,iCAAiC;AAAA,MAClD;AAAA,IACJ,SACO,GAAG;AACN,cAAQ,MAAM,kCAAkC,CAAC;AAAA,IACrD;AAAA,EACJ;AACJ;AAlFqB,oBACF,UAAiD,CAAC;AADrE,IAAqB,qBAArB","sourcesContent":["/**\n * This function is used to create a deep copy of the element\n * @param element The element to be copied\n * @returns The copied element\n */\nexport function createExportableElement<T>(element: T): T {\n try {\n let elementString = JSON.stringify(element)\n return JSON.parse(elementString)\n }\n catch (e) {\n console.error(\"[Pixi'VN] Error creating exportable element\", e)\n throw new Error(\"[Pixi'VN] Error creating exportable element\")\n }\n}\n","import { createExportableElement } from \"../functions/ExportUtility\"\nimport { ExportedStorage } from \"../interface/export\"\nimport { StorageElementType } from \"../types/StorageElementType\"\n\nexport default class GameStorageManager {\n private static storage: { [key: string]: StorageElementType } = {}\n private constructor() { }\n public static get keysSystem() {\n return {\n CURRENT_DIALOGUE_MEMORY_KEY: \"___current_dialogue_memory___\",\n LAST_DIALOGUE_ADDED_IN_STEP_MEMORY_KEY: \"___last_dialogue_added_in_step_memory___\",\n CURRENT_MENU_OPTIONS_MEMORY_KEY: \"___current_menu_options_memory___\",\n LAST_MENU_OPTIONS_ADDED_IN_STEP_MEMORY_KEY: \"___last_menu_options_added_in_step_memory___\",\n CHARACTER_CATEGORY_KEY: \"___character___\",\n FLAGS_CATEGORY_KEY: \"___flags___\",\n }\n }\n /**\n * Set a variable in the storage\n * @param key The key of the variable\n * @param value The value of the variable. If undefined, the variable will be removed\n * @returns\n */\n public static setVariable(key: string, value: StorageElementType) {\n key = key.toLowerCase()\n if (value === undefined || value === null) {\n if (GameStorageManager.storage.hasOwnProperty(key)) {\n delete GameStorageManager.storage[key]\n }\n return\n }\n GameStorageManager.storage[key] = value\n }\n /**\n * Get a variable from the storage\n * @param key The key of the variable\n * @returns The value of the variable. If the variable does not exist, it will return undefined\n */\n public static getVariable<T extends StorageElementType>(key: string): T | undefined {\n key = key.toLowerCase()\n if (GameStorageManager.storage.hasOwnProperty(key)) {\n return GameStorageManager.storage[key] as T\n }\n return undefined\n }\n /**\n * Remove a variable from the storage\n * @param key The key of the variable\n * @returns\n */\n public static removeVariable(key: string) {\n key = key.toLowerCase()\n if (GameStorageManager.storage.hasOwnProperty(key)) {\n delete GameStorageManager.storage[key]\n }\n }\n /**\n * Clear the storage and the oidsUsed\n * @returns\n */\n public static clear() {\n GameStorageManager.storage = {}\n }\n public static exportJson(): string {\n return JSON.stringify(this.export())\n }\n public static export(): ExportedStorage {\n return createExportableElement(GameStorageManager.storage)\n }\n public static importJson(dataString: string) {\n GameStorageManager.import(JSON.parse(dataString))\n }\n public static import(data: object) {\n GameStorageManager.clear()\n try {\n if (data) {\n GameStorageManager.storage = (data as ExportedStorage)\n }\n else {\n console.warn(\"[Pixi'VN] No storage data found\")\n }\n }\n catch (e) {\n console.error(\"[Pixi'VN] Error importing data\", e)\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
import * as pixi_js from 'pixi.js';
|
|
2
|
+
import { Application, ApplicationOptions, Container } from 'pixi.js';
|
|
3
|
+
import CanvasBase from '../classes/canvas/CanvasBase.mjs';
|
|
4
|
+
import { a as TickerArgsType, T as TickerBase, I as ITicker } from '../TickerBase-CFEJHstJ.mjs';
|
|
5
|
+
import { IClassWithArgsHistory } from '../interface/IClassWithArgsHistory.mjs';
|
|
6
|
+
import { PauseType } from '../types/PauseType.mjs';
|
|
7
|
+
import { RepeatType } from '../types/RepeatType.mjs';
|
|
8
|
+
import ExportedCanvas from '../interface/export/ExportedCanvas.mjs';
|
|
9
|
+
import ITickersSteps from '../interface/ITickersSteps.mjs';
|
|
10
|
+
import '../interface/canvas/ICanvasBaseMemory.mjs';
|
|
11
|
+
import '../types/StorageElementType.mjs';
|
|
12
|
+
import '../types/TickerIdType.mjs';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* This class is responsible for managing the canvas, the tickers, the events, and the window size and the children of the window.
|
|
16
|
+
*/
|
|
17
|
+
declare class GameWindowManager {
|
|
18
|
+
private constructor();
|
|
19
|
+
private static _app;
|
|
20
|
+
/**
|
|
21
|
+
* The PIXI Application instance.
|
|
22
|
+
* It not recommended to use this property directly.
|
|
23
|
+
*/
|
|
24
|
+
static get app(): Application<pixi_js.Renderer>;
|
|
25
|
+
private static _isInitialized;
|
|
26
|
+
/**
|
|
27
|
+
* If the manager is initialized.
|
|
28
|
+
*/
|
|
29
|
+
static get isInitialized(): boolean;
|
|
30
|
+
/**
|
|
31
|
+
* This is the div that have same size of the canvas.
|
|
32
|
+
* This is useful to put interface elements.
|
|
33
|
+
* You can use React or other framework to put elements in this div.
|
|
34
|
+
*/
|
|
35
|
+
static htmlLayout: HTMLElement;
|
|
36
|
+
static canvasWidth: number;
|
|
37
|
+
static canvasHeight: number;
|
|
38
|
+
static get screen(): pixi_js.Rectangle;
|
|
39
|
+
/**
|
|
40
|
+
* Initialize the PIXI Application and the interface div.
|
|
41
|
+
* This method should be called before any other method.
|
|
42
|
+
* @param element The html element where I will put the canvas. Example: document.body
|
|
43
|
+
* @param width The width of the canvas
|
|
44
|
+
* @param height The height of the canvas
|
|
45
|
+
* @param options The options of PIXI Application
|
|
46
|
+
* @example
|
|
47
|
+
* ```typescript
|
|
48
|
+
* const body = document.body
|
|
49
|
+
* if (!body) {
|
|
50
|
+
* throw new Error('body element not found')
|
|
51
|
+
* }
|
|
52
|
+
* await GameWindowManager.initialize(body, 1920, 1080, {
|
|
53
|
+
* backgroundColor: "#303030"
|
|
54
|
+
* })
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
static initialize(element: HTMLElement, width: number, height: number, options?: Partial<ApplicationOptions>): Promise<void>;
|
|
58
|
+
/**
|
|
59
|
+
* Add the canvas into a html element.
|
|
60
|
+
* @param element it is the html element where I will put the canvas. Example: document.body
|
|
61
|
+
*/
|
|
62
|
+
private static addCanvasIntoElement;
|
|
63
|
+
/**
|
|
64
|
+
* Initialize the interface div and add it into a html element.
|
|
65
|
+
* @param element it is the html element where I will put the interface div. Example: document.getElementById('root')
|
|
66
|
+
* @example
|
|
67
|
+
* ```typescript
|
|
68
|
+
* const root = document.getElementById('root')
|
|
69
|
+
* if (!root) {
|
|
70
|
+
* throw new Error('root element not found')
|
|
71
|
+
* }
|
|
72
|
+
* GameWindowManager.initializeHTMLLayout(root)
|
|
73
|
+
* const reactRoot = createRoot(GameWindowManager.htmlLayout)
|
|
74
|
+
* reactRoot.render(
|
|
75
|
+
* <App />
|
|
76
|
+
* )
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
79
|
+
static initializeHTMLLayout(element: HTMLElement): void;
|
|
80
|
+
/**
|
|
81
|
+
* This method returns the scale of the screen.
|
|
82
|
+
*/
|
|
83
|
+
static get screenScale(): number;
|
|
84
|
+
/**
|
|
85
|
+
* This method returns the width of the screen enlarged by the scale.
|
|
86
|
+
*/
|
|
87
|
+
static get screenWidth(): number;
|
|
88
|
+
/**
|
|
89
|
+
* This method returns the height of the screen enlarged by the scale.
|
|
90
|
+
*/
|
|
91
|
+
static get screenHeight(): number;
|
|
92
|
+
/**
|
|
93
|
+
* This method returns the horizontal margin of the screen.
|
|
94
|
+
*/
|
|
95
|
+
static get horizontalMargin(): number;
|
|
96
|
+
/**
|
|
97
|
+
* This method returns the vertical margin of the screen.
|
|
98
|
+
*/
|
|
99
|
+
static get verticalMargin(): number;
|
|
100
|
+
/**
|
|
101
|
+
* This method is called when the screen is resized.
|
|
102
|
+
*/
|
|
103
|
+
private static resize;
|
|
104
|
+
/**
|
|
105
|
+
* This is a dictionary that contains all Canvas Elements of Canvas, currently.
|
|
106
|
+
*/
|
|
107
|
+
static get currentCanvasElements(): {
|
|
108
|
+
[tag: string]: CanvasBase<any>;
|
|
109
|
+
};
|
|
110
|
+
private static _children;
|
|
111
|
+
/**
|
|
112
|
+
* The order of the children tags.
|
|
113
|
+
*/
|
|
114
|
+
private static childrenTagsOrder;
|
|
115
|
+
/**
|
|
116
|
+
* Add a canvas element to the canvas.
|
|
117
|
+
* If there is a canvas element with the same tag, it will be removed.
|
|
118
|
+
* @param tag The tag of the canvas element.
|
|
119
|
+
* @param canvasElement The canvas elements to be added.
|
|
120
|
+
* @example
|
|
121
|
+
* ```typescript
|
|
122
|
+
* const texture = await Assets.load('https://pixijs.com/assets/bunny.png');
|
|
123
|
+
* const sprite = CanvasSprite.from(texture);
|
|
124
|
+
* GameWindowManager.addCanvasElement("bunny", sprite);
|
|
125
|
+
* ```
|
|
126
|
+
*/
|
|
127
|
+
static addCanvasElement(tag: string, canvasElement: CanvasBase<any>): void;
|
|
128
|
+
/**
|
|
129
|
+
* Remove a canvas element from the canvas.
|
|
130
|
+
* And remove all tickers that are not connected to any canvas element.
|
|
131
|
+
* @param tag The tag of the canvas element to be removed.
|
|
132
|
+
* @returns
|
|
133
|
+
* @example
|
|
134
|
+
* ```typescript
|
|
135
|
+
* GameWindowManager.removeCanvasElement("bunny");
|
|
136
|
+
* ```
|
|
137
|
+
*/
|
|
138
|
+
static removeCanvasElement(tag: string | string[]): void;
|
|
139
|
+
/**
|
|
140
|
+
* Get a canvas element by the tag.
|
|
141
|
+
* @param tag The tag of the canvas element.
|
|
142
|
+
* @returns The canvas element.
|
|
143
|
+
* @example
|
|
144
|
+
* ```typescript
|
|
145
|
+
* const sprite = GameWindowManager.getCanvasElement<CanvasSprite>("bunny");
|
|
146
|
+
* ```
|
|
147
|
+
*/
|
|
148
|
+
static getCanvasElement<T extends CanvasBase<any>>(tag: string): T | undefined;
|
|
149
|
+
/**
|
|
150
|
+
* Check if a DisplayObject is on the canvas.
|
|
151
|
+
* @param pixiElement The DisplayObject to be checked.
|
|
152
|
+
* @returns If the DisplayObject is on the canvas.
|
|
153
|
+
*/
|
|
154
|
+
static canvasElementIsOnCanvas<T extends Container>(pixiElement: T): boolean;
|
|
155
|
+
/**
|
|
156
|
+
* Remove all canvas elements from the canvas.
|
|
157
|
+
* And remove all tickers that are not connected to any canvas element.
|
|
158
|
+
*/
|
|
159
|
+
static removeCanvasElements(): void;
|
|
160
|
+
/**
|
|
161
|
+
* Edit the tag of a canvas element.
|
|
162
|
+
* @param oldTag The old tag of the canvas element.
|
|
163
|
+
* @param newTag The new tag of the canvas element.
|
|
164
|
+
*/
|
|
165
|
+
static editTagCanvasElement(oldTag: string, newTag: string): void;
|
|
166
|
+
/** Edit Tickers Methods */
|
|
167
|
+
/**
|
|
168
|
+
* Currently tickers that are running.
|
|
169
|
+
*/
|
|
170
|
+
static get currentTickers(): IClassWithArgsHistory<any>[];
|
|
171
|
+
private static _currentTickers;
|
|
172
|
+
/**
|
|
173
|
+
* The steps of the tickers
|
|
174
|
+
*/
|
|
175
|
+
static get currentTickersSteps(): {
|
|
176
|
+
[tag: string]: ITickersSteps;
|
|
177
|
+
};
|
|
178
|
+
private static _currentTickersSteps;
|
|
179
|
+
static currentTickersTimeouts: {
|
|
180
|
+
[timeout: string]: {
|
|
181
|
+
tags: string[];
|
|
182
|
+
ticker: string;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* Run a ticker.
|
|
187
|
+
* @param canvasEslementTag The tag of the canvas element that will use the ticker.
|
|
188
|
+
* @param ticker The ticker class to be run.
|
|
189
|
+
* @param args The arguments to be used in the ticker.
|
|
190
|
+
* @param duration The time to be used in the ticker. This number is in milliseconds. If it is undefined, the ticker will run forever.
|
|
191
|
+
* @param priority The priority to be used in the ticker.
|
|
192
|
+
* @returns
|
|
193
|
+
* @example
|
|
194
|
+
* ```typescript
|
|
195
|
+
* GameWindowManager.addTicker("alien", new TickerRotate({ speed: 0.2 }))
|
|
196
|
+
* ```
|
|
197
|
+
*/
|
|
198
|
+
static addTicker<TArgs extends TickerArgsType>(canvasElementTag: string | string[], ticker: TickerBase<TArgs>): void;
|
|
199
|
+
private static pushTicker;
|
|
200
|
+
/**
|
|
201
|
+
* Run a sequence of tickers.
|
|
202
|
+
* @param tag The tag of canvas element that will use the tickers.
|
|
203
|
+
* @param steps The steps of the tickers.
|
|
204
|
+
* @returns
|
|
205
|
+
* @example
|
|
206
|
+
* ```typescript
|
|
207
|
+
* GameWindowManager.addTickersSteps("alien", [
|
|
208
|
+
* new TickerRotate({ speed: 0.1, clockwise: true }, 2000),
|
|
209
|
+
* Pause(500),
|
|
210
|
+
* new TickerRotate({ speed: 0.2, clockwise: false }, 2000),
|
|
211
|
+
* Repeat,
|
|
212
|
+
* ])
|
|
213
|
+
* ```
|
|
214
|
+
*/
|
|
215
|
+
static addTickersSteps<TArgs extends TickerArgsType>(tag: string, steps: (ITicker<TArgs> | RepeatType | PauseType)[]): void;
|
|
216
|
+
private static runTickersSteps;
|
|
217
|
+
private static nextTickerStep;
|
|
218
|
+
/**
|
|
219
|
+
* Remove a connection between a canvas element and a ticker.
|
|
220
|
+
* And remove the ticker if there is no canvas element connected to it.
|
|
221
|
+
* @param tag The tag of the canvas element that will use the ticker.
|
|
222
|
+
* @param ticker The ticker class to be removed.
|
|
223
|
+
* @example
|
|
224
|
+
* ```typescript
|
|
225
|
+
* GameWindowManager.removeAssociationBetweenTickerCanvasElement("alien", TickerRotate)
|
|
226
|
+
* ```
|
|
227
|
+
*/
|
|
228
|
+
static removeAssociationBetweenTickerCanvasElement(tag: string | string[], ticker: typeof TickerBase<any> | TickerBase<any>): void;
|
|
229
|
+
/**
|
|
230
|
+
* Remove all tickers that are not connected to any existing canvas element.
|
|
231
|
+
*/
|
|
232
|
+
private static removeTickersWithoutAssociatedCanvasElement;
|
|
233
|
+
private static addTickerTimeoutInfo;
|
|
234
|
+
private static removeTickerTimeoutInfo;
|
|
235
|
+
/**
|
|
236
|
+
* Remove all tickers from the canvas.
|
|
237
|
+
*/
|
|
238
|
+
static removeTickers(): void;
|
|
239
|
+
/**
|
|
240
|
+
* Clear the canvas and the tickers.
|
|
241
|
+
*/
|
|
242
|
+
static clear(): void;
|
|
243
|
+
/**
|
|
244
|
+
* Export the canvas and the tickers to a JSON string.
|
|
245
|
+
* @returns The JSON string.
|
|
246
|
+
*/
|
|
247
|
+
static exportJson(): string;
|
|
248
|
+
/**
|
|
249
|
+
* Export the canvas and the tickers to an object.
|
|
250
|
+
* @returns The object.
|
|
251
|
+
*/
|
|
252
|
+
static export(): ExportedCanvas;
|
|
253
|
+
/**
|
|
254
|
+
* Import the canvas and the tickers from a JSON string.
|
|
255
|
+
* @param dataString The JSON string.
|
|
256
|
+
*/
|
|
257
|
+
static importJson(dataString: string): void;
|
|
258
|
+
/**
|
|
259
|
+
* Import the canvas and the tickers from an object.
|
|
260
|
+
* @param data The object.
|
|
261
|
+
*/
|
|
262
|
+
static import(data: object): void;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export { GameWindowManager as default };
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
import * as pixi_js from 'pixi.js';
|
|
2
|
+
import { Application, ApplicationOptions, Container } from 'pixi.js';
|
|
3
|
+
import CanvasBase from '../classes/canvas/CanvasBase.js';
|
|
4
|
+
import { a as TickerArgsType, T as TickerBase, I as ITicker } from '../TickerBase-CjfyD6j5.js';
|
|
5
|
+
import { IClassWithArgsHistory } from '../interface/IClassWithArgsHistory.js';
|
|
6
|
+
import { PauseType } from '../types/PauseType.js';
|
|
7
|
+
import { RepeatType } from '../types/RepeatType.js';
|
|
8
|
+
import ExportedCanvas from '../interface/export/ExportedCanvas.js';
|
|
9
|
+
import ITickersSteps from '../interface/ITickersSteps.js';
|
|
10
|
+
import '../interface/canvas/ICanvasBaseMemory.js';
|
|
11
|
+
import '../types/StorageElementType.js';
|
|
12
|
+
import '../types/TickerIdType.js';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* This class is responsible for managing the canvas, the tickers, the events, and the window size and the children of the window.
|
|
16
|
+
*/
|
|
17
|
+
declare class GameWindowManager {
|
|
18
|
+
private constructor();
|
|
19
|
+
private static _app;
|
|
20
|
+
/**
|
|
21
|
+
* The PIXI Application instance.
|
|
22
|
+
* It not recommended to use this property directly.
|
|
23
|
+
*/
|
|
24
|
+
static get app(): Application<pixi_js.Renderer>;
|
|
25
|
+
private static _isInitialized;
|
|
26
|
+
/**
|
|
27
|
+
* If the manager is initialized.
|
|
28
|
+
*/
|
|
29
|
+
static get isInitialized(): boolean;
|
|
30
|
+
/**
|
|
31
|
+
* This is the div that have same size of the canvas.
|
|
32
|
+
* This is useful to put interface elements.
|
|
33
|
+
* You can use React or other framework to put elements in this div.
|
|
34
|
+
*/
|
|
35
|
+
static htmlLayout: HTMLElement;
|
|
36
|
+
static canvasWidth: number;
|
|
37
|
+
static canvasHeight: number;
|
|
38
|
+
static get screen(): pixi_js.Rectangle;
|
|
39
|
+
/**
|
|
40
|
+
* Initialize the PIXI Application and the interface div.
|
|
41
|
+
* This method should be called before any other method.
|
|
42
|
+
* @param element The html element where I will put the canvas. Example: document.body
|
|
43
|
+
* @param width The width of the canvas
|
|
44
|
+
* @param height The height of the canvas
|
|
45
|
+
* @param options The options of PIXI Application
|
|
46
|
+
* @example
|
|
47
|
+
* ```typescript
|
|
48
|
+
* const body = document.body
|
|
49
|
+
* if (!body) {
|
|
50
|
+
* throw new Error('body element not found')
|
|
51
|
+
* }
|
|
52
|
+
* await GameWindowManager.initialize(body, 1920, 1080, {
|
|
53
|
+
* backgroundColor: "#303030"
|
|
54
|
+
* })
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
static initialize(element: HTMLElement, width: number, height: number, options?: Partial<ApplicationOptions>): Promise<void>;
|
|
58
|
+
/**
|
|
59
|
+
* Add the canvas into a html element.
|
|
60
|
+
* @param element it is the html element where I will put the canvas. Example: document.body
|
|
61
|
+
*/
|
|
62
|
+
private static addCanvasIntoElement;
|
|
63
|
+
/**
|
|
64
|
+
* Initialize the interface div and add it into a html element.
|
|
65
|
+
* @param element it is the html element where I will put the interface div. Example: document.getElementById('root')
|
|
66
|
+
* @example
|
|
67
|
+
* ```typescript
|
|
68
|
+
* const root = document.getElementById('root')
|
|
69
|
+
* if (!root) {
|
|
70
|
+
* throw new Error('root element not found')
|
|
71
|
+
* }
|
|
72
|
+
* GameWindowManager.initializeHTMLLayout(root)
|
|
73
|
+
* const reactRoot = createRoot(GameWindowManager.htmlLayout)
|
|
74
|
+
* reactRoot.render(
|
|
75
|
+
* <App />
|
|
76
|
+
* )
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
79
|
+
static initializeHTMLLayout(element: HTMLElement): void;
|
|
80
|
+
/**
|
|
81
|
+
* This method returns the scale of the screen.
|
|
82
|
+
*/
|
|
83
|
+
static get screenScale(): number;
|
|
84
|
+
/**
|
|
85
|
+
* This method returns the width of the screen enlarged by the scale.
|
|
86
|
+
*/
|
|
87
|
+
static get screenWidth(): number;
|
|
88
|
+
/**
|
|
89
|
+
* This method returns the height of the screen enlarged by the scale.
|
|
90
|
+
*/
|
|
91
|
+
static get screenHeight(): number;
|
|
92
|
+
/**
|
|
93
|
+
* This method returns the horizontal margin of the screen.
|
|
94
|
+
*/
|
|
95
|
+
static get horizontalMargin(): number;
|
|
96
|
+
/**
|
|
97
|
+
* This method returns the vertical margin of the screen.
|
|
98
|
+
*/
|
|
99
|
+
static get verticalMargin(): number;
|
|
100
|
+
/**
|
|
101
|
+
* This method is called when the screen is resized.
|
|
102
|
+
*/
|
|
103
|
+
private static resize;
|
|
104
|
+
/**
|
|
105
|
+
* This is a dictionary that contains all Canvas Elements of Canvas, currently.
|
|
106
|
+
*/
|
|
107
|
+
static get currentCanvasElements(): {
|
|
108
|
+
[tag: string]: CanvasBase<any>;
|
|
109
|
+
};
|
|
110
|
+
private static _children;
|
|
111
|
+
/**
|
|
112
|
+
* The order of the children tags.
|
|
113
|
+
*/
|
|
114
|
+
private static childrenTagsOrder;
|
|
115
|
+
/**
|
|
116
|
+
* Add a canvas element to the canvas.
|
|
117
|
+
* If there is a canvas element with the same tag, it will be removed.
|
|
118
|
+
* @param tag The tag of the canvas element.
|
|
119
|
+
* @param canvasElement The canvas elements to be added.
|
|
120
|
+
* @example
|
|
121
|
+
* ```typescript
|
|
122
|
+
* const texture = await Assets.load('https://pixijs.com/assets/bunny.png');
|
|
123
|
+
* const sprite = CanvasSprite.from(texture);
|
|
124
|
+
* GameWindowManager.addCanvasElement("bunny", sprite);
|
|
125
|
+
* ```
|
|
126
|
+
*/
|
|
127
|
+
static addCanvasElement(tag: string, canvasElement: CanvasBase<any>): void;
|
|
128
|
+
/**
|
|
129
|
+
* Remove a canvas element from the canvas.
|
|
130
|
+
* And remove all tickers that are not connected to any canvas element.
|
|
131
|
+
* @param tag The tag of the canvas element to be removed.
|
|
132
|
+
* @returns
|
|
133
|
+
* @example
|
|
134
|
+
* ```typescript
|
|
135
|
+
* GameWindowManager.removeCanvasElement("bunny");
|
|
136
|
+
* ```
|
|
137
|
+
*/
|
|
138
|
+
static removeCanvasElement(tag: string | string[]): void;
|
|
139
|
+
/**
|
|
140
|
+
* Get a canvas element by the tag.
|
|
141
|
+
* @param tag The tag of the canvas element.
|
|
142
|
+
* @returns The canvas element.
|
|
143
|
+
* @example
|
|
144
|
+
* ```typescript
|
|
145
|
+
* const sprite = GameWindowManager.getCanvasElement<CanvasSprite>("bunny");
|
|
146
|
+
* ```
|
|
147
|
+
*/
|
|
148
|
+
static getCanvasElement<T extends CanvasBase<any>>(tag: string): T | undefined;
|
|
149
|
+
/**
|
|
150
|
+
* Check if a DisplayObject is on the canvas.
|
|
151
|
+
* @param pixiElement The DisplayObject to be checked.
|
|
152
|
+
* @returns If the DisplayObject is on the canvas.
|
|
153
|
+
*/
|
|
154
|
+
static canvasElementIsOnCanvas<T extends Container>(pixiElement: T): boolean;
|
|
155
|
+
/**
|
|
156
|
+
* Remove all canvas elements from the canvas.
|
|
157
|
+
* And remove all tickers that are not connected to any canvas element.
|
|
158
|
+
*/
|
|
159
|
+
static removeCanvasElements(): void;
|
|
160
|
+
/**
|
|
161
|
+
* Edit the tag of a canvas element.
|
|
162
|
+
* @param oldTag The old tag of the canvas element.
|
|
163
|
+
* @param newTag The new tag of the canvas element.
|
|
164
|
+
*/
|
|
165
|
+
static editTagCanvasElement(oldTag: string, newTag: string): void;
|
|
166
|
+
/** Edit Tickers Methods */
|
|
167
|
+
/**
|
|
168
|
+
* Currently tickers that are running.
|
|
169
|
+
*/
|
|
170
|
+
static get currentTickers(): IClassWithArgsHistory<any>[];
|
|
171
|
+
private static _currentTickers;
|
|
172
|
+
/**
|
|
173
|
+
* The steps of the tickers
|
|
174
|
+
*/
|
|
175
|
+
static get currentTickersSteps(): {
|
|
176
|
+
[tag: string]: ITickersSteps;
|
|
177
|
+
};
|
|
178
|
+
private static _currentTickersSteps;
|
|
179
|
+
static currentTickersTimeouts: {
|
|
180
|
+
[timeout: string]: {
|
|
181
|
+
tags: string[];
|
|
182
|
+
ticker: string;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* Run a ticker.
|
|
187
|
+
* @param canvasEslementTag The tag of the canvas element that will use the ticker.
|
|
188
|
+
* @param ticker The ticker class to be run.
|
|
189
|
+
* @param args The arguments to be used in the ticker.
|
|
190
|
+
* @param duration The time to be used in the ticker. This number is in milliseconds. If it is undefined, the ticker will run forever.
|
|
191
|
+
* @param priority The priority to be used in the ticker.
|
|
192
|
+
* @returns
|
|
193
|
+
* @example
|
|
194
|
+
* ```typescript
|
|
195
|
+
* GameWindowManager.addTicker("alien", new TickerRotate({ speed: 0.2 }))
|
|
196
|
+
* ```
|
|
197
|
+
*/
|
|
198
|
+
static addTicker<TArgs extends TickerArgsType>(canvasElementTag: string | string[], ticker: TickerBase<TArgs>): void;
|
|
199
|
+
private static pushTicker;
|
|
200
|
+
/**
|
|
201
|
+
* Run a sequence of tickers.
|
|
202
|
+
* @param tag The tag of canvas element that will use the tickers.
|
|
203
|
+
* @param steps The steps of the tickers.
|
|
204
|
+
* @returns
|
|
205
|
+
* @example
|
|
206
|
+
* ```typescript
|
|
207
|
+
* GameWindowManager.addTickersSteps("alien", [
|
|
208
|
+
* new TickerRotate({ speed: 0.1, clockwise: true }, 2000),
|
|
209
|
+
* Pause(500),
|
|
210
|
+
* new TickerRotate({ speed: 0.2, clockwise: false }, 2000),
|
|
211
|
+
* Repeat,
|
|
212
|
+
* ])
|
|
213
|
+
* ```
|
|
214
|
+
*/
|
|
215
|
+
static addTickersSteps<TArgs extends TickerArgsType>(tag: string, steps: (ITicker<TArgs> | RepeatType | PauseType)[]): void;
|
|
216
|
+
private static runTickersSteps;
|
|
217
|
+
private static nextTickerStep;
|
|
218
|
+
/**
|
|
219
|
+
* Remove a connection between a canvas element and a ticker.
|
|
220
|
+
* And remove the ticker if there is no canvas element connected to it.
|
|
221
|
+
* @param tag The tag of the canvas element that will use the ticker.
|
|
222
|
+
* @param ticker The ticker class to be removed.
|
|
223
|
+
* @example
|
|
224
|
+
* ```typescript
|
|
225
|
+
* GameWindowManager.removeAssociationBetweenTickerCanvasElement("alien", TickerRotate)
|
|
226
|
+
* ```
|
|
227
|
+
*/
|
|
228
|
+
static removeAssociationBetweenTickerCanvasElement(tag: string | string[], ticker: typeof TickerBase<any> | TickerBase<any>): void;
|
|
229
|
+
/**
|
|
230
|
+
* Remove all tickers that are not connected to any existing canvas element.
|
|
231
|
+
*/
|
|
232
|
+
private static removeTickersWithoutAssociatedCanvasElement;
|
|
233
|
+
private static addTickerTimeoutInfo;
|
|
234
|
+
private static removeTickerTimeoutInfo;
|
|
235
|
+
/**
|
|
236
|
+
* Remove all tickers from the canvas.
|
|
237
|
+
*/
|
|
238
|
+
static removeTickers(): void;
|
|
239
|
+
/**
|
|
240
|
+
* Clear the canvas and the tickers.
|
|
241
|
+
*/
|
|
242
|
+
static clear(): void;
|
|
243
|
+
/**
|
|
244
|
+
* Export the canvas and the tickers to a JSON string.
|
|
245
|
+
* @returns The JSON string.
|
|
246
|
+
*/
|
|
247
|
+
static exportJson(): string;
|
|
248
|
+
/**
|
|
249
|
+
* Export the canvas and the tickers to an object.
|
|
250
|
+
* @returns The object.
|
|
251
|
+
*/
|
|
252
|
+
static export(): ExportedCanvas;
|
|
253
|
+
/**
|
|
254
|
+
* Import the canvas and the tickers from a JSON string.
|
|
255
|
+
* @param dataString The JSON string.
|
|
256
|
+
*/
|
|
257
|
+
static importJson(dataString: string): void;
|
|
258
|
+
/**
|
|
259
|
+
* Import the canvas and the tickers from an object.
|
|
260
|
+
* @param data The object.
|
|
261
|
+
*/
|
|
262
|
+
static import(data: object): void;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export { GameWindowManager as default };
|