Class: DXRubyRP5::Sound
- Inherits:
-
Object
- Object
- DXRubyRP5::Sound
- Defined in:
- lib/dxruby_rp5/sound.rb
Instance Method Summary collapse
-
#initialize(filename) ⇒ Sound
constructor
A new instance of Sound.
- #play ⇒ Object
- #set_volume(volume, time = 0) ⇒ Object
Constructor Details
#initialize(filename) ⇒ Sound
Returns a new instance of Sound.
4 5 |
# File 'lib/dxruby_rp5/sound.rb', line 4 def initialize(filename) end |
Instance Method Details
#play ⇒ Object
7 8 |
# File 'lib/dxruby_rp5/sound.rb', line 7 def play end |
#set_volume(volume, time = 0) ⇒ Object
10 11 |
# File 'lib/dxruby_rp5/sound.rb', line 10 def set_volume(volume, time = 0) end |