Class: OsuRuby::Beatmap::TimingPoints::Compound

Inherits:
Struct
  • Object
show all
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

Instance Method Summary collapse

Instance Attribute Details

#baseObject

Returns the value of attribute base

Returns:

  • (Object)

    the current value of base

#relObject

Returns the value of attribute rel

Returns:

  • (Object)

    the current value of rel

Instance Method Details

#bpmFloat

Returns current BPM of the timing.

Returns:

  • (Float)

    current BPM of the timing

#speedFloat

Returns current speed of the timing, defaults to 1.0 if none.

Returns:

  • (Float)

    current speed of the timing, defaults to 1.0 if none.