Clean up the DinkyECSso that it's easier to understand and more obvious what a fact vs. component is.

This commit is contained in:
Zed A. Shaw 2024-10-29 07:33:00 -04:00
parent 4ed06b10b1
commit 143fe7784c
7 changed files with 82 additions and 105 deletions

View file

@ -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) {