* Returns a particular wave from the sound set. * @param i Sound number in the set. * @return Pointer to the respective sound. */
| 161 | * @return Pointer to the respective sound. |
| 162 | */ |
| 163 | Sound *SoundSet::getSound(unsigned int i) |
| 164 | { |
| 165 | if (_sounds.find(i) != _sounds.end()) |
| 166 | { |
| 167 | return _sounds[i]; |
| 168 | } |
| 169 | return 0; |
| 170 | } |
| 171 | |
| 172 | |
| 173 | /** |
no outgoing calls
no test coverage detected