Class: OsuRuby::Beatmap::DifficultyProgress
- Inherits:
-
Struct
- Object
- Struct
- OsuRuby::Beatmap::DifficultyProgress
- Defined in:
- (osu-ruby2 0.0.2) osu-ruby2/beatmap/data.rb
Overview
Three-pair tuple that is used for most of osu! difficulty related scaling.
Instance Attribute Summary collapse
-
#high ⇒ Object
Returns the value of attribute high.
-
#low ⇒ Object
Returns the value of attribute low.
-
#mid ⇒ Object
Returns the value of attribute mid.
Instance Method Summary collapse
-
#approach(value) ⇒ Numeric
retrieve the
original_value
on givendifficulty_value
. -
#intiialize(*args) ⇒ Object
create immutable tuple.
-
#obtain(value) ⇒ Numeric
retrieve the
difficulty_value
on givenvalue
(expected from 0 to 10, may go beyond limits).
Instance Attribute Details
#high ⇒ Object
Returns the value of attribute high
#low ⇒ Object
Returns the value of attribute low
#mid ⇒ Object
Returns the value of attribute mid
Instance Method Details
#approach(value) ⇒ Numeric
retrieve the original_value
on given difficulty_value
#intiialize(*args) ⇒ Object
create immutable tuple.
#obtain(value) ⇒ Numeric
retrieve the difficulty_value
on given value
(expected from 0 to 10, may go beyond limits)