static ComboMenu()
 {
     CMenu.AddGroupLabel("Kombo");
     _useQ    = CMenu.Add("comboUseQ", new CheckBox("Kullan Q"));
     _useW    = CMenu.Add("comboUseW", new CheckBox("Kullan W"));
     _useE    = CMenu.Add("comboUseE", new CheckBox("Kullan E"));
     _useR    = CMenu.Add("comboUseR", new CheckBox("Kullan R", false));
     _clone   = CMenu.Add("comboclone", new CheckBox("Hayeleti Hareket Ettir?"));
     _healthR = CMenu.Add("combohealthR", new Slider("R için canım şu kadar %", 20));
     CMenu.AddLabel("R için:");
     if (EntityManager.Heroes.Allies.Count > 0)
     {
         var addedChamps = new List <string>();
         foreach (
             var ally in
             EntityManager.Heroes.Allies.Where(ally => !addedChamps.Contains(ally.ChampionName)))
         {
             addedChamps.Add(ally.ChampionName);
             CMenu.Add(ally.ChampionName, new CheckBox(string.Format("{0}", ally.ChampionName)));
         }
     }
 }
Example #2
0
 static ComboMenu()
 {
     CMenu.AddGroupLabel("Combo");
     _useQ    = CMenu.Add("comboUseQ", new CheckBox("Use Q"));
     _useW    = CMenu.Add("comboUseW", new CheckBox("Use W"));
     _useE    = CMenu.Add("comboUseE", new CheckBox("Use E"));
     _useR    = CMenu.Add("comboUseR", new CheckBox("Use R", false));
     _clone   = CMenu.Add("comboclone", new CheckBox("Move Ghost?"));
     _healthR = CMenu.Add("combohealthR", new Slider("Use R when Health % below", 20));
     CMenu.AddLabel("Use R on:");
     if (EntityManager.Heroes.Allies.Count > 0)
     {
         var addedChamps = new List <string>();
         foreach (
             var ally in
             EntityManager.Heroes.Allies.Where(ally => !addedChamps.Contains(ally.ChampionName)))
         {
             addedChamps.Add(ally.ChampionName);
             CMenu.Add(ally.ChampionName, new CheckBox(string.Format("{0}", ally.ChampionName)));
         }
     }
 }