mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-13 06:42:35 +00:00
24 lines
373 B
Ruby
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
|