1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-10 12:47:19 +08:00

30 lines
878 B
C#
Raw Normal View History

2017-03-15 21:32:47 +09:00
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
2017-04-18 16:05:58 +09:00
using osu.Game.Rulesets.Judgements;
2017-05-26 19:22:17 +09:00
using osu.Game.Rulesets.Objects.Drawables;
2017-04-18 16:05:58 +09:00
namespace osu.Game.Rulesets.Mania.Judgements
{
public class ManiaJudgement : Judgement
{
2017-09-05 19:44:59 +09:00
protected override int NumericResultFor(HitResult result)
2017-05-26 19:22:17 +09:00
{
switch (result)
{
default:
return 0;
2017-09-05 19:44:59 +09:00
case HitResult.Meh:
2017-05-26 19:22:17 +09:00
return 50;
2017-09-05 19:44:59 +09:00
case HitResult.Ok:
2017-05-26 19:22:17 +09:00
return 100;
2017-09-05 19:44:59 +09:00
case HitResult.Good:
2017-05-26 19:22:17 +09:00
return 200;
2017-09-05 19:44:59 +09:00
case HitResult.Great:
case HitResult.Perfect:
2017-05-26 19:22:17 +09:00
return 300;
}
}
}
}