1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-12 03:57:25 +08:00
osu-lazer/osu.Game.Rulesets.Taiko/Difficulty/Preprocessing/TaikoDifficultyHitObjectRhythm.cs

20 lines
652 B
C#
Raw Normal View History

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
}
}
}