1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-10 06:27:19 +08:00

19 lines
583 B
C#
Raw Normal View History

2017-03-17 14:01:32 +09:00
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
2017-04-18 16:05:58 +09:00
using osu.Game.Rulesets.Objects.Types;
2017-03-17 14:01:32 +09:00
2017-04-18 16:05:58 +09:00
namespace osu.Game.Rulesets.Taiko.Objects
2017-03-17 14:01:32 +09:00
{
2017-03-25 20:57:49 +09:00
public class Swell : TaikoHitObject, IHasEndTime
2017-03-17 14:01:32 +09:00
{
2017-04-05 13:52:53 +09:00
public double EndTime => StartTime + Duration;
2017-03-17 14:01:32 +09:00
2017-04-05 13:52:53 +09:00
public double Duration { get; set; }
2017-03-17 14:01:32 +09:00
/// <summary>
2017-03-25 20:57:49 +09:00
/// The number of hits required to complete the swell successfully.
2017-03-17 14:01:32 +09:00
/// </summary>
public int RequiredHits = 10;
2017-03-17 14:01:32 +09:00
}
}