osu/osu.Game.Rulesets.Catch/Scoring/CatchHitWindows.cs

23 lines
567 B
C#
Raw Normal View History

// 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.
2018-12-27 13:36:57 +00:00
using osu.Game.Rulesets.Scoring;
2019-09-06 06:24:00 +00:00
namespace osu.Game.Rulesets.Catch.Scoring
2018-12-27 13:36:57 +00:00
{
public class CatchHitWindows : HitWindows
{
public override bool IsHitResultAllowed(HitResult result)
{
switch (result)
{
case HitResult.Perfect:
case HitResult.Miss:
return true;
}
return false;
}
}
}