1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-23 18:07:25 +08:00
osu-lazer/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableFlyingRimHit.cs
2020-04-22 15:50:23 +08:00

25 lines
781 B
C#

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Taiko.Objects.Drawables
{
public class DrawableFlyingRimHit : DrawableRimHit
{
protected override void LoadComplete()
{
base.LoadComplete();
ApplyResult(r => r.Type = HitResult.Good);
}
public DrawableFlyingRimHit(double time, bool isStrong = false)
: base(new IgnoreHit { StartTime = time, IsStrong = isStrong })
{
HitObject.ApplyDefaults(new ControlPointInfo(), new BeatmapDifficulty());
}
}
}