Struct libosu::Difficulty [−][src]
pub struct Difficulty { pub hp_drain_rate: f32, pub circle_size: f32, pub overall_difficulty: f32, pub approach_rate: f32, pub slider_multiplier: f32, }
Difficulty settings defined by the map.
Fields
hp_drain_rate: f32
HP Drain Rate
The wiki doesn't have a solid definition of this field yet.
circle_size: f32
Circle Size
This is a value between 0 and 10 representing how big circles should appear on screen.
The radius in osu!pixels is defined by the formula 32 * (1 - 0.7 * (CircleSize - 5) / 5)
, alternatively written 54.4 - 4.48 * CircleSize
.
In osu!mania, this actually defines the number of columns (keys).
overall_difficulty: f32
Overall Difficulty
approach_rate: f32
Approach Rate
slider_multiplier: f32
Slider Multiplier
Trait Implementations
impl Debug for Difficulty
[src]
impl Debug for Difficulty
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for Difficulty
[src]
impl Default for Difficulty
fn default() -> Difficulty
[src]
fn default() -> Difficulty
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for Difficulty
impl Send for Difficulty
impl Sync for Difficulty
impl Sync for Difficulty