/// <summary> /// Called when a world is loaded. This happens only when a save file is loaded. /// </summary> public void OnWorldLoaded() { Log.Message("[PrepareLanding] OnWorldLoaded"); WorldLoaded?.Invoke(); WorldGeneratedOrLoaded?.Invoke(); }
/// <summary> /// Handles the world loaded event /// </summary> /// <param name="e">The event args</param> protected virtual void OnWorldLoaded(EventArgs e) { // TODO: Implement true observer pattern WorldLoaded?.Invoke(this, new EventArgs()); WorldLoaded = null; }