#pragma once #include #include #include "Sound.h" namespace crepe { class SoundSystem { public: static std::unique_ptr sound(const std::string & res); static std::unique_ptr sound(std::unique_ptr res); private: SoundSystem(); virtual ~SoundSystem(); static SoundSystem instance; private: SoLoud::Soloud engine; friend class Sound; }; }