Expose ChangeHandler.SaveState via interface

This commit is contained in:
Dean Herbert
2020-10-02 17:15:28 +09:00
parent 00eed29527
commit 436cc572d3
2 changed files with 6 additions and 3 deletions

View File

@ -29,5 +29,11 @@ namespace osu.Game.Screens.Edit
/// This should be invoked as soon as possible after <see cref="BeginChange"/> to cause a state change.
/// </remarks>
void EndChange();
/// <summary>
/// Immediately saves the current <see cref="Editor"/> state.
/// Note that this will be a no-op if there is a change in progress via <see cref="BeginChange"/>.
/// </summary>
void SaveState();
}
}