Class: OsuRuby::Beatmap::TimingPoints::Compound
- Inherits:
-
Struct
- Object
- Struct
- OsuRuby::Beatmap::TimingPoints::Compound
- Defined in:
- (osu-ruby2 0.0.2) osu-ruby2/beatmap/timing_point.rb
Overview
This is a summarized timing class. Contains both reference to both current active uninherited/absolute and inherited/relative class. All the methods from KEY_METHODS constant are delegated carefully.
If the inherited/relative timing existed, it'll take priority over the uninherited/absolute one.
Instance Attribute Summary collapse
-
#base ⇒ Object
Returns the value of attribute base.
-
#rel ⇒ Object
Returns the value of attribute rel.
Instance Method Summary collapse
-
#bpm ⇒ Float
Current BPM of the timing.
-
#speed ⇒ Float
Current speed of the timing, defaults to 1.0 if none.
Instance Attribute Details
#base ⇒ Object
Returns the value of attribute base
#rel ⇒ Object
Returns the value of attribute rel
Instance Method Details
#bpm ⇒ Float
Returns current BPM of the timing.
#speed ⇒ Float
Returns current speed of the timing, defaults to 1.0 if none.