1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-24 05:27:24 +08:00
osu-lazer/osu.Game.Modes.Taiko/Objects/Swell.cs

19 lines
576 B
C#
Raw Normal View History

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