|
Renderd7-nightly
v0.7.0
|
#include <sound.hpp>
Public Member Functions | |
| ~sound () | |
| void | play () |
| void | stop () |
Sound Class
| sound::~sound | ( | ) |
Construct new Soundeffect path: Path to the .wav file channel: the channel 1-23 toloop: true:loop the sound, false: don't loop "/
sound(const std::string& path, int channel = 1, bool toloop = false); /** deconstruct the sound
| void sound::play | ( | ) |
play the sound
| void sound::stop | ( | ) |
stop the sound