added max_combo method for all PerformanceAttributes structs

This commit is contained in:
MaxOhn
2021-11-21 03:44:28 +01:00
parent c6b0fc55a8
commit 13ef11a1f8
5 changed files with 53 additions and 4 deletions
+6
View File
@@ -259,6 +259,12 @@ impl TaikoPerformanceAttributes {
pub fn pp(&self) -> f64 {
self.pp
}
/// Return the maximum combo of the map.
#[inline]
pub fn max_combo(&self) -> usize {
self.attributes.max_combo
}
}
impl From<TaikoPerformanceAttributes> for TaikoDifficultyAttributes {