Class: RPG::AudioFile

Inherits:
Object show all
Defined in:
docs/0_Dependencies.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = '', volume = 100, pitch = 100) ⇒ AudioFile

Returns a new instance of AudioFile.



2220
2221
# File 'docs/0_Dependencies.rb', line 2220

def initialize(name = '', volume = 100, pitch = 100)
end

Instance Attribute Details

#name

Returns the value of attribute name.



2222
2223
2224
# File 'docs/0_Dependencies.rb', line 2222

def name
  @name
end

#pitch

Returns the value of attribute pitch.



2224
2225
2226
# File 'docs/0_Dependencies.rb', line 2224

def pitch
  @pitch
end

#volume

Returns the value of attribute volume.



2223
2224
2225
# File 'docs/0_Dependencies.rb', line 2223

def volume
  @volume
end