2020-05-11 13:50:02 +08: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 15:30:26 +08:00
|
|
|
|
public readonly double Ratio;
|
|
|
|
|
public readonly bool IsRepeat;
|
2020-05-11 13:57:47 +08:00
|
|
|
|
|
2020-06-08 15:30:26 +08:00
|
|
|
|
public TaikoDifficultyHitObjectRhythm(int numerator, int denominator, double difficulty, bool isRepeat)
|
2020-05-11 13:57:47 +08:00
|
|
|
|
{
|
2020-06-08 15:30:26 +08:00
|
|
|
|
Ratio = numerator / (double)denominator;
|
|
|
|
|
Difficulty = difficulty;
|
|
|
|
|
IsRepeat = isRepeat;
|
2020-05-11 13:50:02 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|