added GradualDifficultyAttributes and GradualPerformanceAttributes

This commit is contained in:
MaxOhn
2021-11-24 19:17:13 +01:00
parent 2736b4c769
commit db1bac08d7
6 changed files with 416 additions and 2 deletions
+2
View File
@@ -5,6 +5,8 @@ use super::{OsuGradualDifficultyAttributes, OsuPerformanceAttributes};
// TODO: Benchmark if Copy is faster than Clone
/// Aggregation for a score's current state i.e. what was the
/// maximum combo so far and what are the current hitresults.
///
/// This struct is used for [`OsuGradualPerformanceAttributes`].
#[derive(Copy, Clone, Debug, Default)]
pub struct OsuScoreState {
/// Maximum combo that the score has had so far.