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

Update comments

This commit is contained in:
OliBomby 2024-10-16 20:48:10 +02:00
parent 3d54e4891f
commit e580932cb3
2 changed files with 6 additions and 2 deletions

View File

@ -9,12 +9,12 @@ namespace osu.Game.Screens.Edit.Changes
public interface IRevertableChange
{
/// <summary>
/// Applies this command to the current state.
/// Applies this change to the current state.
/// </summary>
void Apply();
/// <summary>
/// Applies the inverse of this command to the current state.
/// Applies the inverse of this change to the current state.
/// </summary>
void Revert();
}

View File

@ -5,6 +5,10 @@ using osu.Game.Rulesets.Objects;
namespace osu.Game.Screens.Edit.Changes
{
/// <summary>
/// Queues the update of a <see cref="HitObject"/> in an <see cref="EditorBeatmap"/> for undo/redo.
/// The order of the updates in the transaction does not matter, because the updates are aggregated and applied on the next frame.
/// </summary>
public class QueueUpdateHitObject : IRevertableChange
{
public EditorBeatmap? Beatmap;