Module: Rhythmmml::Figure::Base

Included in:
Bar
Defined in:
lib/rhythmmml/figure.rb

Instance Method Summary collapse

Instance Method Details

#initialize(window, options = {}) ⇒ Object



6
7
8
9
10
# File 'lib/rhythmmml/figure.rb', line 6

def initialize(window, options={})
  @window = window
  @color = options[:color] || Gosu::Color::WHITE
  @z_order = options[:z_order] || ZOrder::FIGURE
end