Beispiel #1
0
 public DialogueModule()
 {
     Instance         = this;
     LoadedDialogues  = new Dictionary <string, DialogueScene>();
     LoadedMonologues = new Dictionary <string, Monologue>();
     LoadAll();
 }
Beispiel #2
0
        static void TestMonologue(string monologue)
        {
            Monologue m = DialogueModule.GetMonologue(monologue);

            ConsoleModule.WriteLine(m.GetLineRandom());
        }
Beispiel #3
0
 private void LoadScene(string scene)
 {
     CurrentScene     = DialogueModule.GetDialogue(scene);
     CurrentSceneName = scene;
 }
Beispiel #4
0
        public override void Dispose()
        {
            base.Dispose();

            Instance = null;
        }