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