Ejemplo n.º 1
0
        public static void Load()
        {
            var _Menu = new Menu(_MenuNameBase, "drawingMenu");

            _Menu.AddSubMenu(DrawingOnMonsters.DrawingMonsterMenu());
            _Menu.AddSubMenu(DrawingOnChamps.DrawingOnChampionsMenu());
            _Menu.AddSubMenu(DrawingOnMinions.DrawingOnMinionsMenu());
            SMenu.AddSubMenu(_Menu);

            EloBuddy.Drawing.OnDraw += DrawingOnMonsters.OnDrawMonster;
            EloBuddy.Drawing.OnDraw += DrawingOnChamps.OnDrawEnemy;
            EloBuddy.Drawing.OnDraw += DrawingOnChamps.OnDrawSelf;
            EloBuddy.Drawing.OnDraw += DrawingOnMinions.OnMinionDraw;
        }
Ejemplo n.º 2
0
        public static void Load()
        {
            var _Menu = new Menu(_MenuNameBase, "drawingMenu");

            _Menu.AddSubMenu(DrawingOnMonsters.DrawingMonsterMenu());
            _Menu.AddSubMenu(DrawingOnChamps.DrawingOnChampionsMenu());
            _Menu.AddSubMenu(DrawingOnMinions.DrawingOnMinionsMenu());
            SMenu.AddSubMenu(_Menu);

            DrawingOnMonsters.DamageToMonster = Damage.DamageCalc.CalculateRendDamage;
            DrawingOnChamps.DamageToEnemy     = Damage.DamageCalc.CalculateRendDamage;

            LeagueSharp.Drawing.OnDraw += DrawingOnMonsters.OnDrawMonster;
            LeagueSharp.Drawing.OnDraw += DrawingOnChamps.OnDrawEnemy;
            LeagueSharp.Drawing.OnDraw += DrawingOnChamps.OnDrawSelf;
            LeagueSharp.Drawing.OnDraw += DrawingOnMinions.OnMinionDraw;
        }