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

public static class Strings
{
    private static SystemLanguage Language
    {
        get
        {
            return Application.systemLanguage;
        }
    }

    public static bool Portugues
    {
        get
        {
            //return true;
			//return false;
            return Language == SystemLanguage.Portuguese;
        }
    }

	public static Dictionary<Enums.eCharacters, string> CHARACTERS_NAMES;
    public static Dictionary<Enums.eCharacters, string> CHARACTERS_ROLES;

    public static Dictionary<Type, string> BOSSES_NAMES;


    static Strings()
    {
        CHARACTERS_ROLES = new Dictionary<Enums.eCharacters, string>();
        CHARACTERS_ROLES[Enums.eCharacters.Butcher] = "butcher";
        CHARACTERS_ROLES[Enums.eCharacters.BestFriend] = "victim's best friend";
        CHARACTERS_ROLES[Enums.eCharacters.Driver] = "victim's driver";
        CHARACTERS_ROLES[Enums.eCharacters.Lover] = "victim's lover";
        CHARACTERS_ROLES[Enums.eCharacters.LoversHusband] = "victim's lover's husband";
        CHARACTERS_ROLES[Enums.eCharacters.Madmen] = "madmen";
        CHARACTERS_ROLES[Enums.eCharacters.Newsman] = "newsman";
        CHARACTERS_ROLES[Enums.eCharacters.Player] = "detective";
        CHARACTERS_ROLES[Enums.eCharacters.PoliceOfficer] = "police officer";
        CHARACTERS_ROLES[Enums.eCharacters.Priest] = "priest";
        CHARACTERS_ROLES[Enums.eCharacters.Secretary] = "victim's secretary";
        CHARACTERS_ROLES[Enums.eCharacters.Wife] = "victim's wife";
        foreach (Enums.eCharacters character in Enum.GetValues(typeof(Enums.eCharacters)))
        {
            Util.AssertTrue(CHARACTERS_ROLES.ContainsKey(character), "Missing some character role");
        }
        CHARACTERS_NAMES = new Dictionary<Enums.eCharacters, string>();
        CHARACTERS_NAMES[Enums.eCharacters.Butcher] = "David";
        CHARACTERS_NAMES[Enums.eCharacters.BestFriend] = "Richard";
        CHARACTERS_NAMES[Enums.eCharacters.Driver] = "Morgan";
        CHARACTERS_NAMES[Enums.eCharacters.Lover] = "Anne";
        CHARACTERS_NAMES[Enums.eCharacters.LoversHusband] = "Roger";
        CHARACTERS_NAMES[Enums.eCharacters.Madmen] = "Madmen";
        CHARACTERS_NAMES[Enums.eCharacters.Newsman] = "Syd";
        CHARACTERS_NAMES[Enums.eCharacters.Player] = "James";
        CHARACTERS_NAMES[Enums.eCharacters.PoliceOfficer] = "John";
        CHARACTERS_NAMES[Enums.eCharacters.Priest] = "Nicholas";
        CHARACTERS_NAMES[Enums.eCharacters.Secretary] = "Ms. White";
        CHARACTERS_NAMES[Enums.eCharacters.Wife] = "Claire";
        foreach (Enums.eCharacters character in Enum.GetValues(typeof(Enums.eCharacters)))
        {
            Util.AssertTrue(CHARACTERS_NAMES.ContainsKey(character), "Missing some character name");
        }
    }

  
}