mirror of
https://github.com/ppy/osu.git
synced 2024-11-19 02:22:56 +08:00
32 lines
987 B
C#
32 lines
987 B
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.Rulesets.Objects.Drawables;
|
|
|
|
namespace osu.Game.Rulesets.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;
|
|
|
|
public virtual bool AffectsCombo => true;
|
|
|
|
/// <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; }
|
|
}
|
|
} |