Data class for audio files. Common to all formats (BGM, BGS, ME, 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.
module RPG class 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 end
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |