* Creates and returns a particular wave in the sound set. * @param i Sound number in the set. * @return Pointer to the respective sound. */
| 176 | * @return Pointer to the respective sound. |
| 177 | */ |
| 178 | Sound *SoundSet::addSound(unsigned int i) |
| 179 | { |
| 180 | _sounds[i] = new Sound(); |
| 181 | return _sounds[i]; |
| 182 | } |
| 183 | |
| 184 | /** |
| 185 | * Returns the total amount of sounds currently |