added max_combo method for osu & taiko difficulty attributes

This commit is contained in:
MaxOhn
2021-11-23 03:09:55 +01:00
parent 86cee5ee88
commit bfc0188c61
3 changed files with 17 additions and 0 deletions
+8
View File
@@ -459,6 +459,14 @@ pub struct OsuDifficultyAttributes {
pub max_combo: usize,
}
impl OsuDifficultyAttributes {
/// Return the maximum combo.
#[inline]
pub fn max_combo(&self) -> usize {
self.max_combo
}
}
/// The result of a performance calculation on an osu!standard map.
#[derive(Clone, Debug, Default, PartialEq)]
pub struct OsuPerformanceAttributes {