using UnityEngine;
using System.Collections;
using System.Collections.Generic;

public class SoundEffectsPlayer : AbstractSoundPlayer
{
    public static SoundEffectsPlayer Instance { get; private set; }
    static SoundEffectsPlayer() { Instance = (new GameObject("SoundEffectsPlayer")).AddComponent<SoundEffectsPlayer>(); }

    private enum eSounds
    {
        sfxcigarro,
        sfxdescoberta,
        sfxfalaagressivo,
        sfxfalainterrogativo,
        sfxfalanegativo,
        sfxfalaneutro,
        sfxpassos,
        sfxporta,
        sfxprisao,
        sfxsinos,
        sfxsirene
    }

    protected override bool mStopAllOnPlay
    {
        get { return false; }
    }

    protected override string GetDir()
    {
        return "SoundEffects";
    }

    protected override string[] GetCheckingNames()
    {
        return System.Enum.GetNames(typeof(eSounds));
    }

    protected override List<string> GetLimitedConcurrentSounds()
    {
        return new List<string>() { /*Enums.eSoundEffects.MissileHit.ToString()*/ };
    }

    protected override Dictionary<string, float> GetChangedVolumesSoundsList()
    {
        return new Dictionary<string, float>()
        {
            {"sfxpassos", 0.25f}
            /*{Enums.eSoundEffects.ThunderhawkLoop.ToString(), 0.7f},
            {Enums.eSoundEffects.WarheadLoop.ToString(), 0.7f},
            {Enums.eSoundEffects.OnFireMissiles.ToString(), 0.65f},
            {Enums.eSoundEffects.OnFireMissilesEnd.ToString(), 0.55f},
            {Enums.eSoundEffects.OnFireMissilesStart.ToString(), 0.60f},
            {Enums.eSoundEffects.MissileLauncherOpens.ToString(), 0.8f},
            {Enums.eSoundEffects.BossSpawn.ToString(), 0.7f},
			{Enums.eSoundEffects.ButtonPress.ToString(), 0.7f}, 
            {Enums.eSoundEffects.MissileHit.ToString(), 0.75f},*/
        };
    }
}