DZLib.Menu.ModesMenuExtensions.AddDrawMenu C# (CSharp) Method

AddDrawMenu() public static method

public static AddDrawMenu ( this menu, Spell>.Dictionary dictionary, Color myColor ) : void
menu this
dictionary Spell>.Dictionary
myColor Color
return void
        public static void AddDrawMenu(this LeagueSharp.Common.Menu menu, Dictionary<SpellSlot, Spell> dictionary, Color myColor)
        {
            foreach (var entry in dictionary)
            {
                var slot = entry.Key;
                if (entry.Value.Range < 4000f)
                {
                    menu.AddItem(new MenuItem(BaseName + ".drawing.draw" + GetStringFromSpellSlot(slot), "Draw " + GetStringFromSpellSlot(slot)).SetValue(new Circle(true, myColor)));
                }
            }
        }