class RPG::AudioFile
#--------------------------------------------------------------------------
# ○ 一致判定
#--------------------------------------------------------------------------
def equal?(obj)
return false unless obj.is_a?(RPG::AudioFile)
return false if self.name != obj.name
return false if self.volume != obj.volume
return false if self.pitch != obj.pitch
return true
end
#--------------------------------------------------------------------------
# ○ 等値演算子
#--------------------------------------------------------------------------
def ==(obj)
return self.equal?(obj)
end
end