// Copyright (c) 2007-2017 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE namespace osu.Game.Beatmaps.Events { public class BreakEvent : Event { /// /// The minimum duration required for a break to have any effect. /// private const double min_break_duration = 650; /// /// The break end time. /// public double EndTime; /// /// The duration of the break. /// public double Duration => EndTime - StartTime; /// /// Whether the break has any effect. Breaks that are too short are culled before they reach the EventInfo. /// public bool HasEffect => Duration >= min_break_duration; } }