1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-12 01:47:24 +08:00
osu-lazer/osu.Game.Rulesets.Catch/Scoring/CatchHitWindows.cs

23 lines
565 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 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;
}
}
}