public void LoadEncounter(string name) { var encounter = EncounterParser.GetEncounter(name); _encounterForm = new EncounterForm(encounter); _encounterForm.Application = _application; _encounterForm.InstantiateComponents(); _application.SwitchTo(_encounterForm); }
public void Open(string name) { Exit(); var dialogue = DialogueParser.GetDialogue(name); _form = new DialogueForm(dialogue); _form.Application = _application; _form.InstantiateComponents(); _application.SwitchTo(_form); }