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