private bool LoadFactory(string filePath) { if (File.Exists(filePath)) { editingFactory = NPC_Factory.LoadFactory(filePath); editorControlHandler = new NPC_FactoryControlHandler(editingFactory); return(true); } else { return(false); } }
private void CreateFactory() { editingFactory = new NPC_Factory(); editorControlHandler = new NPC_FactoryControlHandler(editingFactory); }