create perf calc either by map or attrs

This commit is contained in:
MaxOhn
2024-03-08 11:44:17 +01:00
parent b81fc5c0d5
commit d711840a11
22 changed files with 189 additions and 305 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ impl Beatmap {
/// Create a performance calculator for this [`Beatmap`].
pub const fn performance(&self) -> Performance<'_> {
Performance::new(self)
Performance::from_map(self)
}
/// Create a gradual difficulty calculator for this [`Beatmap`].