Class: RPG::AudioFile
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
-
#initialize(name = '', volume = 100, pitch = 100) ⇒ AudioFile
constructor
A new instance of AudioFile.
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 |