Represents a playable sound. More...
Public Member Functions | |
| Procedural () | |
Constructs a Procedural on channel 0. | |
| Procedural (char channel) | |
Constructs a Procedural on the specified channel. | |
| void | play () |
Plays the sound by assigning it to play on channel. | |
| void | reset () |
| Resets the sound data index. | |
| ubyte | update () |
| Retrieves the next byte of sound data. | |
Public Attributes | |
| uint | t = 0 |
| The index into the sound data. | |
| char | channel = 0 |
| The channel this sound will play on. | |
Represents a playable sound.