Sha256: bdc762e09c04224f1808309e07466fd620bd2c9fe6abbbe4a6c0497912fc7eed

Contents?: true

Size: 395 Bytes

Versions: 24

Compression:

Stored size: 395 Bytes

Contents

#
#
class Waves
  
  attr_reader :window, :scheduling
  
  #
  #
  def initialize window, scheduling
    @window     = window
    @scheduling = scheduling
  end
  
  #
  #
  def add time, generated_type, times, &generation
    add_wave time, Wave.new(generated_type, times, &generation)
  end
  
  #
  #
  def add_wave time, wave
    scheduling.add time, wave.for_scheduling(window)
  end
  
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
gosu_extensions-0.3.8 lib/core/waves.rb
gosu_extensions-0.3.7 lib/core/waves.rb
gosu_extensions-0.3.6 lib/core/waves.rb
gosu_extensions-0.3.5 lib/core/waves.rb
gosu_extensions-0.3.4 lib/core/waves.rb
gosu_extensions-0.3.3 lib/core/waves.rb
gosu_extensions-0.3.2 lib/core/waves.rb
gosu_extensions-0.3.1 lib/core/waves.rb
gosu_extensions-0.3.0 lib/core/waves.rb
gosu_extensions-0.2.9 lib/core/waves.rb
gosu_extensions-0.2.8 lib/core/waves.rb
gosu_extensions-0.2.7 lib/core/waves.rb
gosu_extensions-0.2.6 lib/core/waves.rb
gosu_extensions-0.2.5 lib/core/waves.rb
gosu_extensions-0.2.4 lib/core/waves.rb
gosu_extensions-0.2.3 lib/core/waves.rb
gosu_extensions-0.2.2 lib/core/waves.rb
gosu_extensions-0.2.1 lib/core/waves.rb
gosu_extensions-0.2.0 lib/core/waves.rb
gosu_extensions-0.1.28 lib/core/waves.rb