private bool LoadWorld(string filePath) { if (File.Exists(filePath)) { editingWorld = World.LoadWorld(filePath); editorControlHandler = new WorldControlHandler(editingWorld); return(true); } else { return(false); } }
private void CreateWorld(string worldName) { editingWorld = new World(worldName); editorControlHandler = new WorldControlHandler(editingWorld); }