Meteor2D  dev internal
Meteor is a lightweight 2D game engine.
Loading...
Searching...
No Matches
audioengine.h
1#pragma once
2#include <string>
3#include <irrKlang.h>
4#include <audio/audioclip.h>
5
6namespace meteor {
11 class MAudioEngine : public MEntity {
12 public:
17 static bool Initialise();
23 static MAudioClip* getClip(std::string clipPath);
27 static void cleanup();
28 private:
29 static irrklang::ISoundEngine* engine;
30 };
31}
AudioClip is the instance of a audio clip file, this class holds. This class holds basic information ...
Definition audioclip.h:16
AudioEngine wraps the core audio-engine. Contains helper method to load AudioClip from instance.
Definition audioengine.h:11
static void cleanup()
Performs cleanup of the audio engine.
static MAudioClip * getClip(std::string clipPath)
Load a clip from disk.
static bool Initialise()
Initialise the engine.
An Entity is the base class for all data and behaviour oriented objects in meteor....
Definition entity.h:9