Clean up the DinkyECSso that it's easier to understand and more obvious what a fact vs. component is.
This commit is contained in:
parent
4ed06b10b1
commit
143fe7784c
7 changed files with 82 additions and 105 deletions
|
@ -24,7 +24,8 @@ void SoundManager::load(const std::string name, const std::string sound_path) {
|
|||
|
||||
// set it on the sound and keep in the sound map
|
||||
pair->sound.setBuffer(pair->buffer);
|
||||
pair->sound.setRelativeToListener(true);
|
||||
pair->sound.setRelativeToListener(false);
|
||||
pair->sound.setPosition(0.0f, 0.0f, 1.0f);
|
||||
}
|
||||
|
||||
void SoundManager::play(const std::string name) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue