mirror of
https://github.com/ppy/osu.git
synced 2024-11-07 10:17:43 +08:00
6287ba321d
- OnNewJudgement: Keeps its previous functionality. It is now only invoked when a _new_ judgement has been added to the Judgements hashset. - OnJudgementChanged: Has a similar funcitonality to OnNewJudgement, but is only invoked whenever a judgement that was _previously_ in the Judgements hashset is changed.
35 lines
1.0 KiB
C#
35 lines
1.0 KiB
C#
// 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;
|
|
|
|
namespace osu.Game.Modes.Judgements
|
|
{
|
|
public abstract class Judgement
|
|
{
|
|
/// <summary>
|
|
/// Whether this judgement is the result of a hit or a miss.
|
|
/// </summary>
|
|
public HitResult Result;
|
|
|
|
/// <summary>
|
|
/// The offset at which this judgement occurred.
|
|
/// </summary>
|
|
public double TimeOffset;
|
|
|
|
/// <summary>
|
|
/// The combo after this judgement was processed.
|
|
/// </summary>
|
|
public int ComboAtHit;
|
|
|
|
/// <summary>
|
|
/// The string representation for the result achieved.
|
|
/// </summary>
|
|
public abstract string ResultString { get; }
|
|
|
|
/// <summary>
|
|
/// The string representation for the max result achievable.
|
|
/// </summary>
|
|
public abstract string MaxResultString { get; }
|
|
}
|
|
} |