Files
i-mic-fps/lib/sound_effect.rb
2020-12-02 17:37:48 -06:00

24 lines
373 B
Ruby

# frozen_string_literal: true
class IMICFPS
class SoundEffect
attr_reader :sound, :options
def initialize(options = {})
raise "expected Hash, got #{options.class}" unless options.is_a?(Hash)
@options = options
raise "sound not specified!" unless @options[:sound]
setup
end
def setup
end
def update
end
end
end