Update sound.hpp

This commit is contained in:
tobid7 2021-07-25 10:28:01 +02:00 committed by GitHub
parent 54579d1f18
commit b01393cd33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,10 +7,10 @@
class sound { class sound {
public: public:
/** /**
Construct new Soundeffect * Construct new Soundeffect
path: Path to the .wav file * path: Path to the .wav file
channel: the channel 1-23 * channel: the channel 1-23
toloop: true:loop the sound, false: don't loop * toloop: true:loop the sound, false: don't loop
*/ */
sound(const std::string& path, int channel = 1, bool toloop = false); sound(const std::string& path, int channel = 1, bool toloop = false);
/** deconstruct the sound */ /** deconstruct the sound */