![]() |
Meteor2D
dev internal
Meteor is a lightweight 2D game engine.
|
AudioEngine wraps the core audio-engine. Contains helper method to load AudioClip from instance. More...
#include <audioengine.h>
Static Public Member Functions | |
static bool | Initialise () |
Initialise the engine. | |
static MAudioClip * | getClip (std::string clipPath) |
Load a clip from disk. | |
static void | cleanup () |
Performs cleanup of the audio engine. | |
Additional Inherited Members | |
![]() | |
virtual bool | equals (MEntity *other) |
Checks equality between two entities. | |
std::string | getName () |
void | setName (std::string name) |
Sets name of entity. | |
virtual std::string | toString () |
Get this object as a string. | |
![]() | |
std::string | name |
AudioEngine wraps the core audio-engine. Contains helper method to load AudioClip from instance.
|
static |
Load a clip from disk.
clipPath | path in disk to audio clip file. |
|
static |
Initialise the engine.