2019-01-24 16:43:03 +08:00
|
|
|
// 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 21:36:57 +08:00
|
|
|
|
|
|
|
using osu.Game.Rulesets.Scoring;
|
|
|
|
|
2019-09-06 14:24:00 +08:00
|
|
|
namespace osu.Game.Rulesets.Catch.Scoring
|
2018-12-27 21:36:57 +08:00
|
|
|
{
|
|
|
|
public class CatchHitWindows : HitWindows
|
|
|
|
{
|
|
|
|
public override bool IsHitResultAllowed(HitResult result)
|
|
|
|
{
|
|
|
|
switch (result)
|
|
|
|
{
|
2020-09-29 16:16:55 +08:00
|
|
|
case HitResult.Great:
|
2018-12-27 21:36:57 +08:00
|
|
|
case HitResult.Miss:
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|