mirror of
https://github.com/ppy/osu
synced 2024-12-24 07:42:55 +00:00
33 lines
1.2 KiB
C#
33 lines
1.2 KiB
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
namespace osu.Game.Rulesets.Difficulty
|
|
{
|
|
/// <summary>
|
|
/// Data for generating a performance breakdown by comparing performance to a perfect play.
|
|
/// </summary>
|
|
public class PerformanceBreakdown
|
|
{
|
|
/// <summary>
|
|
/// Actual gameplay performance.
|
|
/// </summary>
|
|
public PerformanceAttributes Performance { get; set; }
|
|
|
|
/// <summary>
|
|
/// Performance of a perfect play for comparison.
|
|
/// </summary>
|
|
public PerformanceAttributes PerfectPerformance { get; set; }
|
|
|
|
/// <summary>
|
|
/// Create a new performance breakdown.
|
|
/// </summary>
|
|
/// <param name="performance">Actual gameplay performance.</param>
|
|
/// <param name="perfectPerformance">Performance of a perfect play for comparison.</param>
|
|
public PerformanceBreakdown(PerformanceAttributes performance, PerformanceAttributes perfectPerformance)
|
|
{
|
|
Performance = performance;
|
|
PerfectPerformance = perfectPerformance;
|
|
}
|
|
}
|
|
}
|