#include <SoundMap.hpp>
Public Member Functions | |
| SoundMap () | |
| Default constructor. | |
Sound map.
Maps a sample id (an enum) onto a filename of sound sample.
You need to derive from this class and put your mapping in constructor. Then you need to store the derived map and pass it to Sound.
| SoundMap::SoundMap | ( | ) |
Default constructor.
The actual mapping is performed here like in the following example:
this->operator[]( HALF_ORBITAL_VEL ) = "Sound/LaunchMFDEnjo/HalfOV.wav";
this->operator[]( TARGET_MANUAL ) = "Sound/LaunchMFDEnjo/ManualTarget.wav";
1.8.1.2