Update sound.hpp

This commit is contained in:
tobid7 2021-07-25 11:20:23 +02:00 committed by GitHub
parent 78b3ff7f68
commit 48cb6d4034
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,12 +6,10 @@
/** Sound Class */ /** Sound Class */
class sound { class sound {
public: public:
/** /// \brief Construct new Soundeffect
* Construct new Soundeffect /// \param path Path to the .wav file
* path: Path to the .wav file /// \param channel the channel 1-23
* channel: the channel 1-23 /// \param 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 */
~sound(); ~sound();