Class: RPG::AudioFile
- Defined in:
- scripts/00000 Dependencies/00001 LiteRGSS2/99999 RMXP_DATA.rb
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.
25 26 27 28 29 |
# File 'scripts/00000 Dependencies/00001 LiteRGSS2/99999 RMXP_DATA.rb', line 25 def initialize(name = "", volume = 100, pitch = 100) @name = name @volume = volume @pitch = pitch end |
Instance Attribute Details
#name
Returns the value of attribute name.
30 31 32 |
# File 'scripts/00000 Dependencies/00001 LiteRGSS2/99999 RMXP_DATA.rb', line 30 def name @name end |
#pitch
Returns the value of attribute pitch.
32 33 34 |
# File 'scripts/00000 Dependencies/00001 LiteRGSS2/99999 RMXP_DATA.rb', line 32 def pitch @pitch end |
#volume
Returns the value of attribute volume.
31 32 33 |
# File 'scripts/00000 Dependencies/00001 LiteRGSS2/99999 RMXP_DATA.rb', line 31 def volume @volume end |