Пример #1
0
 /// <inheritdoc/>
 public void LoadState()
 {
     StateLoading?.Invoke(this, EventArgs.Empty);
     for (int i = 0; i < _saveables.Count; i++)
     {
         LoadSaveable(_saveables[i]);
     }
     StateLoaded?.Invoke(this, EventArgs.Empty);
 }
Пример #2
0
 protected virtual void OnStateLoading(StateLoadEventArgs e)
 {
     StateLoading?.Invoke(this, e);
 }