Update sound.hpp
This commit is contained in:
parent
3af5da9d3e
commit
4368d6d7ee
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user