Handles sound.
More...
#include <SoundManager.hpp>
◆ ClearKilledComponents()
| void SoundManager::ClearKilledComponents |
( |
| ) |
|
Remove all killed components.
◆ CreateListener()
Create listener component.
- Returns
- The created component.
◆ CreateSoundSource()
Create sound source component.
- Returns
- The created component.
◆ GetListeners()
Get all listener components.
- Returns
- All listener components.
◆ GetSoundSources()
Get all sound source components.
- Returns
- All sound source components.
◆ Update()
| void SoundManager::Update |
( |
| ) |
|
Moves sound sources and plays sounds.
- Todo:
- Set velocity based on physics.
- Todo:
- More than one listener? Eg. for split-screen multiplayer.
◆ Hub
The documentation for this class was generated from the following files: