move HitResult in Scoring namespace to replace HitCount

This commit is contained in:
Aergwyn
2017-12-30 21:23:18 +01:00
parent c002d4e1d2
commit ccb69d16d9
46 changed files with 73 additions and 83 deletions

View File

@ -0,0 +1,43 @@
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.ComponentModel;
namespace osu.Game.Rulesets.Scoring
{
public enum HitResult
{
/// <summary>
/// Indicates that the object has not been judged yet.
/// </summary>
[Description(@"")]
None,
/// <summary>
/// Indicates that the object has been judged as a miss.
/// </summary>
[Description(@"Miss")]
Miss,
[Description(@"Meh")]
Meh,
/// <summary>
/// Optional judgement.
/// </summary>
[Description(@"OK")]
Ok,
[Description(@"Good")]
Good,
[Description(@"Great")]
Great,
/// <summary>
/// Optional judgement.
/// </summary>
[Description(@"Perfect")]
Perfect,
}
}

View File

@ -7,7 +7,6 @@ using osu.Game.Beatmaps;
using osu.Game.Rulesets.Mods;
using osu.Game.Users;
using osu.Game.Rulesets.Replays;
using System.ComponentModel;
namespace osu.Game.Rulesets.Scoring
{
@ -41,21 +40,6 @@ namespace osu.Game.Rulesets.Scoring
public DateTimeOffset Date;
public Dictionary<HitCount, object> Statistics = new Dictionary<HitCount, object>();
public enum HitCount
{
[Description("300")]
Great,
[Description("100")]
Good,
[Description("50")]
Meh,
[Description("x")]
Miss
}
public Dictionary<HitResult, object> Statistics = new Dictionary<HitResult, object>();
}
}

View File

@ -8,7 +8,6 @@ using osu.Game.Beatmaps;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.UI;
using osu.Game.Rulesets.Objects.Drawables;
namespace osu.Game.Rulesets.Scoring
{