mirror of
https://github.com/ppy/osu.git
synced 2024-12-05 10:33:22 +08:00
Update comments
This commit is contained in:
parent
3d54e4891f
commit
e580932cb3
@ -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();
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user