#ifndef WALLENGINE_SOUND_H #define WALLENGINE_SOUND_H #include #include #include #include #include namespace wp { using json = nlohmann::json; class sound : public wp::object3d { public: sound (json json_data, wp::object* parent); void play (); private: std::vector m_filenames; std::vector m_sdl; std::vector m_bufferReader; std::vector m_soundBuffer; }; }; #endif //WALLENGINE_SOUND_H