◆ command()
| virtual int MADS::SoundDriver::command |
( |
int |
commandId, |
|
|
int |
param |
|
) |
| |
|
pure virtual |
Execute a player command. Most commands represent sounds to play, but some low number commands also provide control operations.
- Parameters
-
| commandId | Player ommand to execute. |
| param | Optional parameter used by a few commands |
Implemented in MADS::Nebular::ASound9, MADS::MADSV2::Phantom::ASound9, MADS::Nebular::ASound8, MADS::MADSV2::Phantom::ASound5, MADS::Nebular::ASound7, MADS::Nebular::ASound6, MADS::MADSV2::Phantom::ASound4, MADS::Nebular::ASound5, MADS::MADSV2::Phantom::ASound3, MADS::Nebular::ASound4, MADS::Nebular::ASound3, MADS::MADSV2::Phantom::ASound2, MADS::Nebular::ASound2, MADS::MADSV2::Phantom::ASound1, and MADS::Nebular::ASound1.
◆ stop()
| virtual int MADS::SoundDriver::stop |
( |
| ) |
|
|
pure virtual |
◆ poll()
| virtual int MADS::SoundDriver::poll |
( |
| ) |
|
|
inlinevirtual |
◆ noise()
| virtual void MADS::SoundDriver::noise |
( |
| ) |
|
|
pure virtual |
◆ setVolume()
| virtual void MADS::SoundDriver::setVolume |
( |
int |
volume | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: