1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-05 10:33:22 +08:00

Update IEditorCommand.cs

This commit is contained in:
OliBomby 2024-10-13 01:29:35 +02:00
parent 20ce649326
commit f6881f45a9

View File

@ -11,18 +11,18 @@ namespace osu.Game.Screens.Edit.Commands
/// <summary>
/// Applies this command to the current state.
/// </summary>
public void Apply();
void Apply();
/// <summary>
/// Creates a command which undoes the change of this command.
/// </summary>
/// <returns>The undo command.</returns>
/// <remarks>Make sure to call this before calling <see cref="Apply"/>, as it reads the current state of the object.</remarks>
public IEditorCommand CreateUndo();
IEditorCommand CreateUndo();
/// <summary>
/// Whether this command would not have any meaningful effect if applied to the current state.
/// </summary>
public virtual bool IsRedundant => false;
bool IsRedundant => false;
}
}