@drincs/pixi-vn 0.2.2 → 0.3.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/index.d.mts CHANGED
@@ -33,8 +33,8 @@ declare class CanvasEvent<C> {
33
33
  * I suggest you extend this class to create your own stored class.
34
34
  * @example
35
35
  * ```typescript
36
- * export class CharacterModelBase extends StoredClassModel implements ICharacterModelBase {
37
- * constructor(id: string, props: ICharacterModelBase) {
36
+ * export class CharacterBaseModel extends StoredClassModel implements CharacterBaseModelProps {
37
+ * constructor(id: string, props: CharacterBaseModelProps) {
38
38
  * super("___character___", id)
39
39
  * this.defaultName = props.name
40
40
  * this.defaultSurname = props.surname
@@ -82,7 +82,7 @@ declare class StoredClassModel {
82
82
  getStorageProperty<T>(propertyName: string): T | undefined;
83
83
  }
84
84
 
85
- interface ICharacterModelBase {
85
+ interface CharacterBaseModelProps {
86
86
  name: string;
87
87
  surname?: string;
88
88
  age?: number;
@@ -90,19 +90,19 @@ interface ICharacterModelBase {
90
90
  color?: string;
91
91
  }
92
92
  /**
93
- * CharacterModelBase is a class that is used to create a character model.
93
+ * CharacterBaseModel is a class that is used to create a character model.
94
94
  * I suggest you extend this class to create your own character models.
95
95
  * You must use the saveCharacter function to save the character in the game.
96
96
  * @example
97
97
  * ```typescript
98
- * export const liam = new CharacterModelBase('liam', {
98
+ * export const liam = new CharacterBaseModel('liam', {
99
99
  * name: 'Liam',
100
100
  * surname: 'Smith',
101
101
  * age: 25,
102
102
  * icon: "https://pixijs.com/assets/eggHead.png",
103
103
  * color: "#9e2e12"
104
104
  * });
105
- * export const alice = new CharacterModelBase('alice', {
105
+ * export const alice = new CharacterBaseModel('alice', {
106
106
  * name: 'Alice',
107
107
  * surname: 'Smith',
108
108
  * age: 25,
@@ -112,8 +112,8 @@ interface ICharacterModelBase {
112
112
  * saveCharacter([liam, alice]);
113
113
  * ```
114
114
  */
115
- declare class CharacterModelBase extends StoredClassModel implements ICharacterModelBase {
116
- constructor(id: string, props: ICharacterModelBase);
115
+ declare class CharacterBaseModel extends StoredClassModel implements CharacterBaseModelProps {
116
+ constructor(id: string, props: CharacterBaseModelProps);
117
117
  private defaultName;
118
118
  get name(): string;
119
119
  set name(value: string);
@@ -231,7 +231,7 @@ interface IStoratedChoiceMenuOptionLabel {
231
231
  /**
232
232
  * Base class for all dialogue models. I suggest you extend this class to create your own dialogue models.
233
233
  */
234
- declare class DialogueModelBase {
234
+ declare class DialogueBaseModel {
235
235
  constructor(text: string, characterId: string | undefined);
236
236
  /**
237
237
  * The text of the dialogue.
@@ -703,12 +703,12 @@ declare function canvasElementDecorator(name?: CanvasElementTagType): (target: t
703
703
  * @returns
704
704
  * @example
705
705
  * ```typescript
706
- * export const liam = new CharacterModelBase('liam', { name: 'Liam'});
707
- * export const alice = new CharacterModelBase('alice', { name: 'Alice'});
706
+ * export const liam = new CharacterBaseModel('liam', { name: 'Liam'});
707
+ * export const alice = new CharacterBaseModel('alice', { name: 'Alice'});
708
708
  * saveCharacter([liam, alice]);
709
709
  * ```
710
710
  */
711
- declare function saveCharacter<T extends CharacterModelBase = CharacterModelBase>(character: T | T[]): void;
711
+ declare function saveCharacter<T extends CharacterBaseModel = CharacterBaseModel>(character: T | T[]): void;
712
712
  /**
713
713
  * is a function that returns the character by the id
714
714
  * @param id is the id of the character
@@ -718,7 +718,16 @@ declare function saveCharacter<T extends CharacterModelBase = CharacterModelBase
718
718
  * const liam = getCharacterById('liam');
719
719
  * ```
720
720
  */
721
- declare function getCharacterById<T extends CharacterModelBase>(id: string): T | undefined;
721
+ declare function getCharacterById<T extends CharacterBaseModel>(id: string): T | undefined;
722
+ /**
723
+ * is a function that returns all characters
724
+ * @returns all characters
725
+ * @example
726
+ * ```typescript
727
+ * const allCharacters = getAllCharacters();
728
+ * ```
729
+ */
730
+ declare function getAllCharacters<T extends CharacterBaseModel>(): T[];
722
731
 
723
732
  /**
724
733
  * Is a decorator that register a event in the game.
@@ -772,7 +781,7 @@ interface IClassWithArgsHistoryForExport<TArgs extends TickerArgsType> {
772
781
  duration?: number;
773
782
  }
774
783
 
775
- interface IDialogueHistory<T extends DialogueModelBase = DialogueModelBase> {
784
+ interface IDialogueHistory<T extends DialogueBaseModel = DialogueBaseModel> {
776
785
  /**
777
786
  * Dialogue to be shown in the game
778
787
  */
@@ -839,7 +848,7 @@ interface IHistoryStepData {
839
848
  */
840
849
  openedLabels: IOpenedLabel[];
841
850
  }
842
- interface IHistoryStep<T extends DialogueModelBase = DialogueModelBase> {
851
+ interface IHistoryStep<T extends DialogueBaseModel = DialogueBaseModel> {
843
852
  /**
844
853
  * The difference between the previous step and the current step.
845
854
  */
@@ -936,7 +945,7 @@ type ChoiceMenuOptionsType = ChoiceMenuOptionLabel[];
936
945
  * })
937
946
  * ```
938
947
  */
939
- declare function setDialogue<T extends CharacterModelBase = CharacterModelBase>(props: {
948
+ declare function setDialogue<T extends CharacterBaseModel = CharacterBaseModel>(props: {
940
949
  character: string | T;
941
950
  text: string;
942
951
  } | string): void;
@@ -944,7 +953,7 @@ declare function setDialogue<T extends CharacterModelBase = CharacterModelBase>(
944
953
  * Get the dialogue to be shown in the game
945
954
  * @returns Dialogue to be shown in the game
946
955
  */
947
- declare function getDialogue<T extends DialogueModelBase = DialogueModelBase>(): T | undefined;
956
+ declare function getDialogue<T extends DialogueBaseModel = DialogueBaseModel>(): T | undefined;
948
957
  /**
949
958
  * Clear the dialogue to be shown in the game
950
959
  */
@@ -977,7 +986,7 @@ declare function clearChoiceMenuOptions(): void;
977
986
  * Get the history of the dialogues
978
987
  * @returns the history of the dialogues
979
988
  */
980
- declare function getDialogueHistory<T extends DialogueModelBase = DialogueModelBase>(): IDialogueHistory<T>[];
989
+ declare function getDialogueHistory<T extends DialogueBaseModel = DialogueBaseModel>(): IDialogueHistory<T>[];
981
990
 
982
991
  /**
983
992
  * Set a flag to true or false.
@@ -1109,7 +1118,7 @@ declare class GameStepManager {
1109
1118
  * stepHistory is a list of label events and steps that occurred during the progression of the steps.
1110
1119
  */
1111
1120
  private static _stepsHistory;
1112
- static get stepsHistory(): IHistoryStep<DialogueModelBase>[];
1121
+ static get stepsHistory(): IHistoryStep<DialogueBaseModel>[];
1113
1122
  private static _lastStepIndex;
1114
1123
  /**
1115
1124
  * lastStepIndex is the last step index that occurred during the progression of the steps. **Not is the length of the stepsHistory - 1.**
@@ -1548,4 +1557,4 @@ declare class GameWindowManager {
1548
1557
  static import(data: object): void;
1549
1558
  }
1550
1559
 
1551
- export { CanvasBase, CanvasContainer, CanvasEvent, type CanvasEventNamesType, CanvasImage, CanvasSprite, CanvasText, CharacterModelBase, ChoiceMenuOptionLabel, type ChoiceMenuOptionsType, DialogueModelBase, type ExportedCanvas, type ExportedStep, type ExportedStorage, GameStepManager, GameStorageManager, GameWindowManager, type ICanvasBaseMemory, type ICanvasContainerMemory, type ICanvasImageMemory, type ICanvasSpriteBaseMemory, type ICanvasSpriteMemory, type ICanvasTextMemory as ICanvasTextTextMemory, type IClassWithArgsHistory, type IClassWithArgsHistoryForExport, type IDialogueHistory, type IHistoryStep, type IHistoryStepData, type IOpenedLabel, type ISaveData, type ITextureMemory, type ITicker, type ITickersSteps, Label, LabelRunModeEnum, Pause, type PauseType, PauseValueType, Repeat, type RepeatType, type StepLabelType, type StorageElementType, StoredClassModel, TickerBase, TickerFadeAlpha, type TickerProgrationType, TickerRotate, addImage, canvasElementDecorator, clearAllGameDatas, clearChoiceMenuOptions, clearDialogue, eventDecorator, getCharacterById, getChoiceMenuOptions, getDialogue, getDialogueHistory, getFlag, getSaveData, getSaveJson, getTexture, labelDecorator, loadSaveData, loadSaveJson, removeCanvasElement, saveCharacter, setChoiceMenuOptions, setDialogue, setFlag, showCanvasImages, showImageWithDissolveTransition, tickerDecorator };
1560
+ export { CanvasBase, CanvasContainer, CanvasEvent, type CanvasEventNamesType, CanvasImage, CanvasSprite, CanvasText, CharacterBaseModel, type CharacterBaseModelProps, ChoiceMenuOptionLabel, type ChoiceMenuOptionsType, DialogueBaseModel, type ExportedCanvas, type ExportedStep, type ExportedStorage, GameStepManager, GameStorageManager, GameWindowManager, type ICanvasBaseMemory, type ICanvasContainerMemory, type ICanvasImageMemory, type ICanvasSpriteBaseMemory, type ICanvasSpriteMemory, type ICanvasTextMemory as ICanvasTextTextMemory, type IClassWithArgsHistory, type IClassWithArgsHistoryForExport, type IDialogueHistory, type IHistoryStep, type IHistoryStepData, type IOpenedLabel, type ISaveData, type ITextureMemory, type ITicker, type ITickersSteps, Label, LabelRunModeEnum, Pause, type PauseType, PauseValueType, Repeat, type RepeatType, type StepLabelType, type StorageElementType, StoredClassModel, TickerBase, TickerFadeAlpha, type TickerProgrationType, TickerRotate, addImage, canvasElementDecorator, clearAllGameDatas, clearChoiceMenuOptions, clearDialogue, eventDecorator, getAllCharacters, getCharacterById, getChoiceMenuOptions, getDialogue, getDialogueHistory, getFlag, getSaveData, getSaveJson, getTexture, labelDecorator, loadSaveData, loadSaveJson, removeCanvasElement, saveCharacter, setChoiceMenuOptions, setDialogue, setFlag, showCanvasImages, showImageWithDissolveTransition, tickerDecorator };
package/dist/index.d.ts CHANGED
@@ -33,8 +33,8 @@ declare class CanvasEvent<C> {
33
33
  * I suggest you extend this class to create your own stored class.
34
34
  * @example
35
35
  * ```typescript
36
- * export class CharacterModelBase extends StoredClassModel implements ICharacterModelBase {
37
- * constructor(id: string, props: ICharacterModelBase) {
36
+ * export class CharacterBaseModel extends StoredClassModel implements CharacterBaseModelProps {
37
+ * constructor(id: string, props: CharacterBaseModelProps) {
38
38
  * super("___character___", id)
39
39
  * this.defaultName = props.name
40
40
  * this.defaultSurname = props.surname
@@ -82,7 +82,7 @@ declare class StoredClassModel {
82
82
  getStorageProperty<T>(propertyName: string): T | undefined;
83
83
  }
84
84
 
85
- interface ICharacterModelBase {
85
+ interface CharacterBaseModelProps {
86
86
  name: string;
87
87
  surname?: string;
88
88
  age?: number;
@@ -90,19 +90,19 @@ interface ICharacterModelBase {
90
90
  color?: string;
91
91
  }
92
92
  /**
93
- * CharacterModelBase is a class that is used to create a character model.
93
+ * CharacterBaseModel is a class that is used to create a character model.
94
94
  * I suggest you extend this class to create your own character models.
95
95
  * You must use the saveCharacter function to save the character in the game.
96
96
  * @example
97
97
  * ```typescript
98
- * export const liam = new CharacterModelBase('liam', {
98
+ * export const liam = new CharacterBaseModel('liam', {
99
99
  * name: 'Liam',
100
100
  * surname: 'Smith',
101
101
  * age: 25,
102
102
  * icon: "https://pixijs.com/assets/eggHead.png",
103
103
  * color: "#9e2e12"
104
104
  * });
105
- * export const alice = new CharacterModelBase('alice', {
105
+ * export const alice = new CharacterBaseModel('alice', {
106
106
  * name: 'Alice',
107
107
  * surname: 'Smith',
108
108
  * age: 25,
@@ -112,8 +112,8 @@ interface ICharacterModelBase {
112
112
  * saveCharacter([liam, alice]);
113
113
  * ```
114
114
  */
115
- declare class CharacterModelBase extends StoredClassModel implements ICharacterModelBase {
116
- constructor(id: string, props: ICharacterModelBase);
115
+ declare class CharacterBaseModel extends StoredClassModel implements CharacterBaseModelProps {
116
+ constructor(id: string, props: CharacterBaseModelProps);
117
117
  private defaultName;
118
118
  get name(): string;
119
119
  set name(value: string);
@@ -231,7 +231,7 @@ interface IStoratedChoiceMenuOptionLabel {
231
231
  /**
232
232
  * Base class for all dialogue models. I suggest you extend this class to create your own dialogue models.
233
233
  */
234
- declare class DialogueModelBase {
234
+ declare class DialogueBaseModel {
235
235
  constructor(text: string, characterId: string | undefined);
236
236
  /**
237
237
  * The text of the dialogue.
@@ -703,12 +703,12 @@ declare function canvasElementDecorator(name?: CanvasElementTagType): (target: t
703
703
  * @returns
704
704
  * @example
705
705
  * ```typescript
706
- * export const liam = new CharacterModelBase('liam', { name: 'Liam'});
707
- * export const alice = new CharacterModelBase('alice', { name: 'Alice'});
706
+ * export const liam = new CharacterBaseModel('liam', { name: 'Liam'});
707
+ * export const alice = new CharacterBaseModel('alice', { name: 'Alice'});
708
708
  * saveCharacter([liam, alice]);
709
709
  * ```
710
710
  */
711
- declare function saveCharacter<T extends CharacterModelBase = CharacterModelBase>(character: T | T[]): void;
711
+ declare function saveCharacter<T extends CharacterBaseModel = CharacterBaseModel>(character: T | T[]): void;
712
712
  /**
713
713
  * is a function that returns the character by the id
714
714
  * @param id is the id of the character
@@ -718,7 +718,16 @@ declare function saveCharacter<T extends CharacterModelBase = CharacterModelBase
718
718
  * const liam = getCharacterById('liam');
719
719
  * ```
720
720
  */
721
- declare function getCharacterById<T extends CharacterModelBase>(id: string): T | undefined;
721
+ declare function getCharacterById<T extends CharacterBaseModel>(id: string): T | undefined;
722
+ /**
723
+ * is a function that returns all characters
724
+ * @returns all characters
725
+ * @example
726
+ * ```typescript
727
+ * const allCharacters = getAllCharacters();
728
+ * ```
729
+ */
730
+ declare function getAllCharacters<T extends CharacterBaseModel>(): T[];
722
731
 
723
732
  /**
724
733
  * Is a decorator that register a event in the game.
@@ -772,7 +781,7 @@ interface IClassWithArgsHistoryForExport<TArgs extends TickerArgsType> {
772
781
  duration?: number;
773
782
  }
774
783
 
775
- interface IDialogueHistory<T extends DialogueModelBase = DialogueModelBase> {
784
+ interface IDialogueHistory<T extends DialogueBaseModel = DialogueBaseModel> {
776
785
  /**
777
786
  * Dialogue to be shown in the game
778
787
  */
@@ -839,7 +848,7 @@ interface IHistoryStepData {
839
848
  */
840
849
  openedLabels: IOpenedLabel[];
841
850
  }
842
- interface IHistoryStep<T extends DialogueModelBase = DialogueModelBase> {
851
+ interface IHistoryStep<T extends DialogueBaseModel = DialogueBaseModel> {
843
852
  /**
844
853
  * The difference between the previous step and the current step.
845
854
  */
@@ -936,7 +945,7 @@ type ChoiceMenuOptionsType = ChoiceMenuOptionLabel[];
936
945
  * })
937
946
  * ```
938
947
  */
939
- declare function setDialogue<T extends CharacterModelBase = CharacterModelBase>(props: {
948
+ declare function setDialogue<T extends CharacterBaseModel = CharacterBaseModel>(props: {
940
949
  character: string | T;
941
950
  text: string;
942
951
  } | string): void;
@@ -944,7 +953,7 @@ declare function setDialogue<T extends CharacterModelBase = CharacterModelBase>(
944
953
  * Get the dialogue to be shown in the game
945
954
  * @returns Dialogue to be shown in the game
946
955
  */
947
- declare function getDialogue<T extends DialogueModelBase = DialogueModelBase>(): T | undefined;
956
+ declare function getDialogue<T extends DialogueBaseModel = DialogueBaseModel>(): T | undefined;
948
957
  /**
949
958
  * Clear the dialogue to be shown in the game
950
959
  */
@@ -977,7 +986,7 @@ declare function clearChoiceMenuOptions(): void;
977
986
  * Get the history of the dialogues
978
987
  * @returns the history of the dialogues
979
988
  */
980
- declare function getDialogueHistory<T extends DialogueModelBase = DialogueModelBase>(): IDialogueHistory<T>[];
989
+ declare function getDialogueHistory<T extends DialogueBaseModel = DialogueBaseModel>(): IDialogueHistory<T>[];
981
990
 
982
991
  /**
983
992
  * Set a flag to true or false.
@@ -1109,7 +1118,7 @@ declare class GameStepManager {
1109
1118
  * stepHistory is a list of label events and steps that occurred during the progression of the steps.
1110
1119
  */
1111
1120
  private static _stepsHistory;
1112
- static get stepsHistory(): IHistoryStep<DialogueModelBase>[];
1121
+ static get stepsHistory(): IHistoryStep<DialogueBaseModel>[];
1113
1122
  private static _lastStepIndex;
1114
1123
  /**
1115
1124
  * lastStepIndex is the last step index that occurred during the progression of the steps. **Not is the length of the stepsHistory - 1.**
@@ -1548,4 +1557,4 @@ declare class GameWindowManager {
1548
1557
  static import(data: object): void;
1549
1558
  }
1550
1559
 
1551
- export { CanvasBase, CanvasContainer, CanvasEvent, type CanvasEventNamesType, CanvasImage, CanvasSprite, CanvasText, CharacterModelBase, ChoiceMenuOptionLabel, type ChoiceMenuOptionsType, DialogueModelBase, type ExportedCanvas, type ExportedStep, type ExportedStorage, GameStepManager, GameStorageManager, GameWindowManager, type ICanvasBaseMemory, type ICanvasContainerMemory, type ICanvasImageMemory, type ICanvasSpriteBaseMemory, type ICanvasSpriteMemory, type ICanvasTextMemory as ICanvasTextTextMemory, type IClassWithArgsHistory, type IClassWithArgsHistoryForExport, type IDialogueHistory, type IHistoryStep, type IHistoryStepData, type IOpenedLabel, type ISaveData, type ITextureMemory, type ITicker, type ITickersSteps, Label, LabelRunModeEnum, Pause, type PauseType, PauseValueType, Repeat, type RepeatType, type StepLabelType, type StorageElementType, StoredClassModel, TickerBase, TickerFadeAlpha, type TickerProgrationType, TickerRotate, addImage, canvasElementDecorator, clearAllGameDatas, clearChoiceMenuOptions, clearDialogue, eventDecorator, getCharacterById, getChoiceMenuOptions, getDialogue, getDialogueHistory, getFlag, getSaveData, getSaveJson, getTexture, labelDecorator, loadSaveData, loadSaveJson, removeCanvasElement, saveCharacter, setChoiceMenuOptions, setDialogue, setFlag, showCanvasImages, showImageWithDissolveTransition, tickerDecorator };
1560
+ export { CanvasBase, CanvasContainer, CanvasEvent, type CanvasEventNamesType, CanvasImage, CanvasSprite, CanvasText, CharacterBaseModel, type CharacterBaseModelProps, ChoiceMenuOptionLabel, type ChoiceMenuOptionsType, DialogueBaseModel, type ExportedCanvas, type ExportedStep, type ExportedStorage, GameStepManager, GameStorageManager, GameWindowManager, type ICanvasBaseMemory, type ICanvasContainerMemory, type ICanvasImageMemory, type ICanvasSpriteBaseMemory, type ICanvasSpriteMemory, type ICanvasTextMemory as ICanvasTextTextMemory, type IClassWithArgsHistory, type IClassWithArgsHistoryForExport, type IDialogueHistory, type IHistoryStep, type IHistoryStepData, type IOpenedLabel, type ISaveData, type ITextureMemory, type ITicker, type ITickersSteps, Label, LabelRunModeEnum, Pause, type PauseType, PauseValueType, Repeat, type RepeatType, type StepLabelType, type StorageElementType, StoredClassModel, TickerBase, TickerFadeAlpha, type TickerProgrationType, TickerRotate, addImage, canvasElementDecorator, clearAllGameDatas, clearChoiceMenuOptions, clearDialogue, eventDecorator, getAllCharacters, getCharacterById, getChoiceMenuOptions, getDialogue, getDialogueHistory, getFlag, getSaveData, getSaveJson, getTexture, labelDecorator, loadSaveData, loadSaveJson, removeCanvasElement, saveCharacter, setChoiceMenuOptions, setDialogue, setFlag, showCanvasImages, showImageWithDissolveTransition, tickerDecorator };
package/dist/index.js CHANGED
@@ -82,9 +82,9 @@ __export(src_exports, {
82
82
  CanvasImage: () => CanvasImage,
83
83
  CanvasSprite: () => CanvasSprite,
84
84
  CanvasText: () => CanvasText,
85
- CharacterModelBase: () => CharacterModelBase2,
85
+ CharacterBaseModel: () => CharacterBaseModel2,
86
86
  ChoiceMenuOptionLabel: () => ChoiceMenuOptionLabel,
87
- DialogueModelBase: () => DialogueModelBase,
87
+ DialogueBaseModel: () => DialogueBaseModel,
88
88
  GameStepManager: () => GameStepManager,
89
89
  GameStorageManager: () => GameStorageManager,
90
90
  GameWindowManager: () => GameWindowManager,
@@ -103,6 +103,7 @@ __export(src_exports, {
103
103
  clearChoiceMenuOptions: () => clearChoiceMenuOptions,
104
104
  clearDialogue: () => clearDialogue,
105
105
  eventDecorator: () => eventDecorator,
106
+ getAllCharacters: () => getAllCharacters,
106
107
  getCharacterById: () => getCharacterById,
107
108
  getChoiceMenuOptions: () => getChoiceMenuOptions,
108
109
  getDialogue: () => getDialogue,
@@ -197,7 +198,7 @@ function setDialogue(props) {
197
198
  }
198
199
  }
199
200
  }
200
- let dialogue = new DialogueModelBase(text, characterId);
201
+ let dialogue = new DialogueBaseModel(text, characterId);
201
202
  GameStorageManager.setVariable(GameStorageManager.keysSystem.CURRENT_DIALOGUE_MEMORY_KEY, dialogue);
202
203
  GameStorageManager.setVariable(GameStorageManager.keysSystem.LAST_DIALOGUE_ADDED_IN_STEP_MEMORY_KEY, GameStepManager.lastStepIndex);
203
204
  }
@@ -842,6 +843,9 @@ function getCharacterById(id) {
842
843
  return;
843
844
  }
844
845
  }
846
+ function getAllCharacters() {
847
+ return Object.values(registeredCharacters);
848
+ }
845
849
 
846
850
  // src/decorators/TickerDecorator.ts
847
851
  var registeredTickers = {};
@@ -1049,7 +1053,7 @@ function showImageWithDissolveTransition(tag, imageUrl, speed, priority) {
1049
1053
  }
1050
1054
 
1051
1055
  // src/constants.ts
1052
- var PIXIVN_VERSION = "0.2.2";
1056
+ var PIXIVN_VERSION = "0.3.0";
1053
1057
 
1054
1058
  // src/functions/SavesUtility.ts
1055
1059
  function getSaveData() {
@@ -1146,10 +1150,10 @@ var _GameStorageManager = class _GameStorageManager {
1146
1150
  }
1147
1151
  static get keysSystem() {
1148
1152
  return {
1149
- CURRENT_DIALOGUE_MEMORY_KEY: "___current_dialogue_memory_key___",
1150
- LAST_DIALOGUE_ADDED_IN_STEP_MEMORY_KEY: "___last_dialogue_added_in_step_memory_key___",
1151
- CURRENT_MENU_OPTIONS_MEMORY_KEY: "___current_menu_options_memory_key___",
1152
- LAST_MENU_OPTIONS_ADDED_IN_STEP_MEMORY_KEY: "___last_menu_options_added_in_step_memory_key___",
1153
+ CURRENT_DIALOGUE_MEMORY_KEY: "___current_dialogue_memory___",
1154
+ LAST_DIALOGUE_ADDED_IN_STEP_MEMORY_KEY: "___last_dialogue_added_in_step_memory___",
1155
+ CURRENT_MENU_OPTIONS_MEMORY_KEY: "___current_menu_options_memory___",
1156
+ LAST_MENU_OPTIONS_ADDED_IN_STEP_MEMORY_KEY: "___last_menu_options_added_in_step_memory___",
1153
1157
  CHARACTER_CATEGORY_KEY: "___character___",
1154
1158
  FLAGS_CATEGORY_KEY: "___flags___"
1155
1159
  };
@@ -1230,7 +1234,7 @@ var import_pixi9 = require("pixi.js");
1230
1234
 
1231
1235
  // src/functions/EasterEgg.ts
1232
1236
  function asciiArtLog() {
1233
- console.log(`
1237
+ console.info(`
1234
1238
  ____ _ _ ___ ___ _
1235
1239
  | _ \\(_)_ _(_| ) \\ / / \\ | |
1236
1240
  | |_) | \\ \\/ / |/ \\ \\ / /| \\| |
@@ -2367,8 +2371,8 @@ var StoredClassModel = class {
2367
2371
  }
2368
2372
  };
2369
2373
 
2370
- // src/classes/CharacterModelBase.ts
2371
- var CharacterModelBase2 = class extends StoredClassModel {
2374
+ // src/classes/CharacterBaseModel.ts
2375
+ var CharacterBaseModel2 = class extends StoredClassModel {
2372
2376
  constructor(id, props) {
2373
2377
  super(GameStorageManager.keysSystem.CHARACTER_CATEGORY_KEY, id);
2374
2378
  this.defaultName = "";
@@ -2425,8 +2429,8 @@ var ChoiceMenuOptionLabel = class {
2425
2429
  }
2426
2430
  };
2427
2431
 
2428
- // src/classes/DialogueModelBase.ts
2429
- var DialogueModelBase = class {
2432
+ // src/classes/DialogueBaseModel.ts
2433
+ var DialogueBaseModel = class {
2430
2434
  constructor(text, characterId) {
2431
2435
  /**
2432
2436
  * The text of the dialogue.
@@ -2473,9 +2477,9 @@ var Label = class {
2473
2477
  CanvasImage,
2474
2478
  CanvasSprite,
2475
2479
  CanvasText,
2476
- CharacterModelBase,
2480
+ CharacterBaseModel,
2477
2481
  ChoiceMenuOptionLabel,
2478
- DialogueModelBase,
2482
+ DialogueBaseModel,
2479
2483
  GameStepManager,
2480
2484
  GameStorageManager,
2481
2485
  GameWindowManager,
@@ -2494,6 +2498,7 @@ var Label = class {
2494
2498
  clearChoiceMenuOptions,
2495
2499
  clearDialogue,
2496
2500
  eventDecorator,
2501
+ getAllCharacters,
2497
2502
  getCharacterById,
2498
2503
  getChoiceMenuOptions,
2499
2504
  getDialogue,