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.
1368 1369 1370 1371 1372 |
# File 'lib/R3EXS/RGSS3.rb', line 1368 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.
1374 1375 1376 |
# File 'lib/R3EXS/RGSS3.rb', line 1374 def name @name end |
#pitch ⇒ Object
Returns the value of attribute pitch.
1376 1377 1378 |
# File 'lib/R3EXS/RGSS3.rb', line 1376 def pitch @pitch end |
#volume ⇒ Object
Returns the value of attribute volume.
1375 1376 1377 |
# File 'lib/R3EXS/RGSS3.rb', line 1375 def volume @volume end |