diff --git a/osu.Game/Screens/Edit/EditorClock.cs b/osu.Game/Screens/Edit/EditorClock.cs index a084096c3b..abb677cd8d 100644 --- a/osu.Game/Screens/Edit/EditorClock.cs +++ b/osu.Game/Screens/Edit/EditorClock.cs @@ -10,6 +10,9 @@ using osu.Game.Screens.Edit.Screens.Compose; namespace osu.Game.Screens.Edit { + /// + /// A decoupled clock which adds editor-specific functionality, such as snapping to a user-defined beat divisor. + /// public class EditorClock : DecoupleableInterpolatingFramedClock { public ControlPointInfo ControlPointInfo; @@ -23,6 +26,11 @@ namespace osu.Game.Screens.Edit ControlPointInfo = controlPointInfo; } + /// + /// Seek to the closest valid snap value. + /// + /// The raw position which should be seeked around. + /// Whether the seek could be performed. public bool SeekSnapped(double position) { var timingPoint = ControlPointInfo.TimingPointAt(position);