osu/osu.Game.Rulesets.Taiko/Difficulty/Preprocessing/TaikoDifficultyHitObjectRhythm.cs

18 lines
565 B
C#
Raw Normal View History

2020-05-11 05:50:02 +00:00
// 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.Taiko.Difficulty.Preprocessing
{
public class TaikoDifficultyHitObjectRhythm
{
public readonly double Difficulty;
2020-06-08 07:30:26 +00:00
public readonly double Ratio;
2020-05-11 05:57:47 +00:00
2020-08-18 17:34:44 +00:00
public TaikoDifficultyHitObjectRhythm(int numerator, int denominator, double difficulty)
2020-05-11 05:57:47 +00:00
{
2020-06-08 07:30:26 +00:00
Ratio = numerator / (double)denominator;
Difficulty = difficulty;
2020-05-11 05:50:02 +00:00
}
}
}