Class: RPG::ME
Instance Attribute Summary
Attributes inherited from AudioFile
#name, #pitch, #volume
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from AudioFile
#initialize
Constructor Details
This class inherits a constructor from RPG::AudioFile
Class Method Details
.fade(time) ⇒ Object
1462
1463
1464
|
# File 'lib/R3EXS/RGSS3.rb', line 1462
def self.fade(time)
Audio.me_fade(time)
end
|
.stop ⇒ Object
1458
1459
1460
|
# File 'lib/R3EXS/RGSS3.rb', line 1458
def self.stop
Audio.me_stop
end
|
Instance Method Details
#play ⇒ Object
1450
1451
1452
1453
1454
1455
1456
|
# File 'lib/R3EXS/RGSS3.rb', line 1450
def play
if @name.empty?
Audio.me_stop
else
Audio.me_play('Audio/ME/' + @name, @volume, @pitch)
end
end
|