Update sound.hpp
This commit is contained in:
parent
78b3ff7f68
commit
48cb6d4034
10
sound.hpp
10
sound.hpp
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user