Class: RPG::AudioFile
Overview
Class representing a RMXP Audio File
Instance Attribute Summary collapse
-
#name
Returns the value of attribute name.
-
#pitch
Returns the value of attribute pitch.
-
#volume
Returns the value of attribute volume.
Instance Method Summary collapse
- #==(other)
-
#initialize(name = '', volume = 100, pitch = 100) ⇒ AudioFile
constructor
A new instance of AudioFile.
-
#to_a ⇒ Array
Convert to array.
Constructor Details
#initialize(name = '', volume = 100, pitch = 100) ⇒ AudioFile
Returns a new instance of AudioFile.
2419 2420 |
# File 'docs/0_Dependencies.rb', line 2419 def initialize(name = '', volume = 100, pitch = 100) end |
Instance Attribute Details
#name
Returns the value of attribute name.
2425 2426 2427 |
# File 'docs/0_Dependencies.rb', line 2425 def name @name end |
#pitch
Returns the value of attribute pitch.
2427 2428 2429 |
# File 'docs/0_Dependencies.rb', line 2427 def pitch @pitch end |
#volume
Returns the value of attribute volume.
2426 2427 2428 |
# File 'docs/0_Dependencies.rb', line 2426 def volume @volume end |
Instance Method Details
#==(other)
2428 2429 |
# File 'docs/0_Dependencies.rb', line 2428 def ==(other) end |
#to_a ⇒ Array
Convert to array
2423 2424 |
# File 'docs/0_Dependencies.rb', line 2423 def to_a end |