Sha256: ec2a917755c303c747663958a8ce9d911436200f424febdad073e0b25ee662fa

Contents?: true

Size: 327 Bytes

Versions: 4

Compression:

Stored size: 327 Bytes

Contents

# -*- coding: utf-8 -*-
module DXRubyRP5
  class SoundEffect
    def initialize(time, wavetype = WAVE_RECT, resolution = 1000)
      @time = time

      @time.times { yield }
    end

    def add(wavetype = WAVE_RECT, resolution = 1000)
      @time.times { yield }
    end

    def play
    end

    def stop
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dxruby_rp5-0.0.4 lib/dxruby_rp5/sound_effect.rb
dxruby_rp5-0.0.3 lib/dxruby_rp5/sound_effect.rb
dxruby_rp5-0.0.2 lib/dxruby_rp5/sound_effect.rb
dxruby_rp5-0.0.1 lib/dxruby_rp5/sound_effect.rb