Class: RPG::AudioFile
- Inherits:
-
Object
- Object
- RPG::AudioFile
- Defined in:
- lib/R3EXS/RGSS3.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#pitch ⇒ Object
Returns the value of attribute pitch.
-
#volume ⇒ Object
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.
1346 1347 1348 1349 1350 |
# File 'lib/R3EXS/RGSS3.rb', line 1346 def initialize(name = '', volume = 100, pitch = 100) @name = name @volume = volume @pitch = pitch end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
1352 1353 1354 |
# File 'lib/R3EXS/RGSS3.rb', line 1352 def name @name end |
#pitch ⇒ Object
Returns the value of attribute pitch.
1354 1355 1356 |
# File 'lib/R3EXS/RGSS3.rb', line 1354 def pitch @pitch end |
#volume ⇒ Object
Returns the value of attribute volume.
1353 1354 1355 |
# File 'lib/R3EXS/RGSS3.rb', line 1353 def volume @volume end |