Class: RPG::AudioFile

Inherits:
Object show all
Defined in:
docs/0_Dependencies.rb

Overview

Class representing a RMXP Audio File

Instance Attribute Summary collapse

Instance Method Summary collapse

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

Returns:

  • (Array)


2423
2424
# File 'docs/0_Dependencies.rb', line 2423

def to_a
end