#include <BGMusic.h>
Public Member Functions | |
| BGMusic () | |
| Null Sound. | |
| BGMusic (int type) | |
| ~BGMusic () | |
| void | play (int loop) |
| The basic play() function. | |
| int | getType () |
Protected Attributes | |
| MIDI * | sound |
| The sound this object will play. | |
| int | type |
| A code, specified by an enum, that describes what kind of Sound. | |
| BGMusic::BGMusic | ( | ) |
Null Sound.
Note that play() checks for a null pointer, so this won't throw errors.
| BGMusic::BGMusic | ( | int | type | ) |
| BGMusic::~BGMusic | ( | ) |
| int BGMusic::getType | ( | ) |
| void BGMusic::play | ( | int | loop | ) |
The basic play() function.
MIDI* BGMusic::sound [protected] |
The sound this object will play.
int BGMusic::type [protected] |
A code, specified by an enum, that describes what kind of Sound.
1.5.7.1