Update sound.hpp

This commit is contained in:
tobid7 2021-07-25 00:07:17 +02:00 committed by GitHub
parent 3af5da9d3e
commit 4368d6d7ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,10 +7,10 @@
class sound {
public:
/**
*Construct new Soundeffect
*path: Path to the .wav file
*channel: the channel 1-23
*toloop: true:loop the sound, false: don't loop
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 */