From 0ca703beaa77c7283770dcb89cd7c0f6360ca4bc Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Thu, 12 Apr 2018 21:04:45 +0900 Subject: [PATCH] Add some missing xmldoc --- osu.Game/Screens/Edit/EditorClock.cs | 8 ++++++++ 1 file changed, 8 insertions(+) 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);