3#include <entities/entity.h>
4#include <audio/audioplayable.h>
23 MAudioClip(irrklang::ISoundEngine* engine, std::string clipPath);
37 std::string getPlayableInstanceId();
39 irrklang::ISoundEngine* engine = NULL;
40 irrklang::ISoundSource* baseSrc = NULL;
41 std::string clipPath =
"";
43 int instanceIdCounter = 0;
AudioClip is the instance of a audio clip file, this class holds. This class holds basic information ...
Definition audioclip.h:16
MAudioPlayable * createPlayableInstance()
Creates a playable instance of this clip, which can be used to play audio.
MAudioClip(irrklang::ISoundEngine *engine, std::string clipPath)
Constructor.
std::string toString() override
Get this object as a string.
This class is the Playable instance of AudioClip. Provides various playback functions.
Definition audioplayable.h:14
An Entity is the base class for all data and behaviour oriented objects in meteor....
Definition entity.h:9