public AbilityToggler(Dictionary<string, bool> abilityDictionary)
{
this.random = new Random();
this.Dictionary = new Dictionary<string, bool>();
this.PositionDictionary = new Dictionary<string, float[]>();
this.SValuesDictionary = new Dictionary<string, bool>();
foreach (var v in abilityDictionary)
{
this.Add(v.Key, v.Value);
//Menu.TextureDictionary.Add(
// v.Key,
// v.Key.Substring(0, "item".Length) == "item"
// ? Textures.GetTexture("materials/ensage_ui/items/" + v.Key.Substring("item_".Length) + ".vmat")
// : Textures.GetTexture("materials/ensage_ui/spellicons/" + v.Key + ".vmat"));
}
//var posDict = this.PositionDictionary;
//foreach (var v in this.Dictionary.Where(v => !posDict.ContainsKey(v.Key)))
//{
// this.PositionDictionary.Add(v.Key, new float[] { 0, 0 });
//}
//var svDict = this.SValuesDictionary;
//foreach (var v in this.Dictionary.Where(v => !svDict.ContainsKey(v.Key)))
//{
// this.SValuesDictionary.Add(v.Key, v.Value);
//}
}