mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-04 02:36:31 +00:00
add unique_ptr for sound
This commit is contained in:
@@ -59,7 +59,7 @@ namespace BBM
|
||||
SoundComponent &operator=(const SoundComponent &) = delete;
|
||||
private:
|
||||
//! @brief Sound of this entity
|
||||
std::map<soundIndex, RAY::Audio::Sound> _soundList;
|
||||
std::map<soundIndex, std::unique_ptr<RAY::Audio::Sound>> _soundList;
|
||||
|
||||
std::map<soundIndex, bool> _isLoad;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user