Carpenter Engine
A C++ game engine with a build once run anywhere solution
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
Engine::Audio::Audio Class Reference

An abstract C++ class used to hold the information of an audio file. More...

#include <Audio.hpp>

Inheritance diagram for Engine::Audio::Audio:
Engine::Audio::Music Engine::Audio::Sound

Public Member Functions

 Audio (const char *filename)
 Default constructor.
 
void Play ()
 Plays the audio file.
 

Protected Attributes

const char * m_filename
 

Detailed Description

An abstract C++ class used to hold the information of an audio file.

Wraps the JS class game.Audio into a C++ class usable within the C++ framework

This gets derived into two different classes that should be used instead:

Author
Roberto Selles

The documentation for this class was generated from the following files: