private WorldCreatorApplication GetWorldCreatorApplication(IObjectSpaceProvider provider, ModuleList list) { var customWorldCreatorApplicationArgs = new CustomWorldCreatorApplicationArgs { ObjectSpaceProvider = provider, Modules = list }; OnCustomWorldCreatorApplication(customWorldCreatorApplicationArgs); return(customWorldCreatorApplicationArgs.WorldCreatorApplication ?? new WorldCreatorApplication(provider, list)); }
private void OnCustomWorldCreatorApplication(CustomWorldCreatorApplicationArgs e) { CustomWorldCreatorApplication?.Invoke(this, e); }