mirror of
https://github.com/osukey/osukey.git
synced 2025-05-21 05:27:17 +09:00
26 lines
803 B
C#
26 lines
803 B
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
using osu.Game.Rulesets.Scoring;
|
|
|
|
namespace osu.Game.Rulesets.Taiko.Objects.Drawables
|
|
{
|
|
public class DrawableStrongDrumRollTick : DrawableStrongHitObject
|
|
{
|
|
public DrawableStrongDrumRollTick(StrongHitObject strong, DrawableDrumRollTick tick)
|
|
: base(strong, tick)
|
|
{
|
|
}
|
|
|
|
protected override void CheckForJudgements(bool userTriggered, double timeOffset)
|
|
{
|
|
if (!MainObject.Judged)
|
|
return;
|
|
|
|
ApplyResult(r => r.Type = MainObject.IsHit ? HitResult.Great : HitResult.Miss);
|
|
}
|
|
|
|
public override bool OnPressed(TaikoAction action) => false;
|
|
}
|
|
}
|