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