Constructor
new AudioModel(json)
Audio model component
Parameters:
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
json | object | json object to configure model Properties
|
- Source
- See
Members
conf :object
configuration of sounds
Type:
- object
- Source
soundsJSON :Array.<string>
array of sound id needed for this component
Type:
- Array.<string>
- Source
Methods
getConf() → {object}
- Source
Returns:
- configuration model
- Type:
- object
getSoundsJSON() → {Array.<string>}
- Source
Returns:
- sounds id model
- Type:
- Array.<string>
toJSON() → {object}
- Source
Returns:
- export model to json object
- Type:
- object