Update sound.hpp
This commit is contained in:
parent
78b3ff7f68
commit
48cb6d4034
10
sound.hpp
10
sound.hpp
@ -6,12 +6,10 @@
|
||||
/** Sound Class */
|
||||
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
|
||||
*/
|
||||
/// \brief Construct new Soundeffect
|
||||
/// \param path Path to the .wav file
|
||||
/// \param channel the channel 1-23
|
||||
/// \param toloop true:loop the sound, false: don't loop
|
||||
sound(const std::string& path, int channel = 1, bool toloop = false);
|
||||
/** deconstruct the sound */
|
||||
~sound();
|
||||
|
Loading…
Reference in New Issue
Block a user