#pragma once
#include <SFML/Graphics.hpp>
#include <SFML/Audio.hpp>
#include <vector>
#include <map>
enum SoundsNames {Explosion};
class SoundManager
{
std::vector<sf::Sound> sounds;
std::map<SoundsNames, sf::SoundBuffer> soundBuffers;
float soundsVolume;
public:
SoundManager();
void playSound(SoundsNames soundName);
};