1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-18 06:43:22 +08:00
osu-lazer/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 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)
{
case HitResult.Perfect:
case HitResult.Miss:
return true;
}
return false;
}
}
}