Sprite::addSound()
Add a sound to the sprite. If a sound with the received name already exists do nothing.
Syntax
Java
.addSound(name, soundPath)
Parameters
| Name | Data Type | Description |
|---|---|---|
| name | String | a unique name |
| soundPath | String | a sound path |
Return
void
