update readme
This commit is contained in:
@@ -68,7 +68,7 @@ and for performance attributes there is [`GradualPerformance`] which requires th
|
|||||||
score state.
|
score state.
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
use rosu_pp::{Beatmap, GradualPerformance, ModeDifficulty};
|
use rosu_pp::{Beatmap, GradualPerformance, ModeDifficulty, any::ScoreState};
|
||||||
|
|
||||||
let map = Beatmap::from_path("./resources/1028484.osu").unwrap();
|
let map = Beatmap::from_path("./resources/1028484.osu").unwrap();
|
||||||
let difficulty = ModeDifficulty::new().mods(16 + 64).clock_rate(1.2); // HRDT on 1.2x
|
let difficulty = ModeDifficulty::new().mods(16 + 64).clock_rate(1.2); // HRDT on 1.2x
|
||||||
|
|||||||
Reference in New Issue
Block a user