2017-03-15 20:32:47 +08:00
|
|
|
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
|
|
|
|
using osu.Game.Modes.Objects.Drawables;
|
2017-03-15 15:07:40 +08:00
|
|
|
|
|
|
|
|
|
namespace osu.Game.Modes.Judgements
|
|
|
|
|
{
|
2017-03-23 18:00:18 +08:00
|
|
|
|
public abstract class Judgement
|
2017-03-15 15:07:40 +08:00
|
|
|
|
{
|
2017-03-23 11:21:09 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Whether this judgement is the result of a hit or a miss.
|
|
|
|
|
/// </summary>
|
2017-03-29 16:57:36 +08:00
|
|
|
|
public HitResult Result;
|
2017-03-23 11:21:09 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The offset at which this judgement occurred.
|
|
|
|
|
/// </summary>
|
2017-03-15 15:07:40 +08:00
|
|
|
|
public double TimeOffset;
|
2017-03-23 11:21:09 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The combo after this judgement was processed.
|
|
|
|
|
/// </summary>
|
2017-03-30 09:51:14 +08:00
|
|
|
|
public int ComboAtHit;
|
2017-03-23 11:21:09 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2017-03-24 08:50:18 +08:00
|
|
|
|
/// The string representation for the result achieved.
|
2017-03-23 11:21:09 +08:00
|
|
|
|
/// </summary>
|
2017-03-24 08:50:18 +08:00
|
|
|
|
public abstract string ResultString { get; }
|
2017-03-23 11:21:09 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2017-03-24 08:50:18 +08:00
|
|
|
|
/// The string representation for the max result achievable.
|
2017-03-23 11:21:09 +08:00
|
|
|
|
/// </summary>
|
2017-03-24 08:50:18 +08:00
|
|
|
|
public abstract string MaxResultString { get; }
|
2017-03-15 15:07:40 +08:00
|
|
|
|
}
|
|
|
|
|
}
|