A superclass of BGM, BGS, ME, and SE.
The sound file name.
The sound's volume (0..100). The default values are 100 for BGM and ME and 80 for BGS and SE.
The sound's pitch (50..150). The default value is 100.
class RPG::AudioFile def initialize(name = '', volume = 100, pitch = 100) @name = name @volume = volume @pitch = pitch end attr_accessor :name attr_accessor :volume attr_accessor :pitch end