Пример #1
0
        public BaseChamp(string szChampName)
        {
            Text = new Font(Drawing.Direct3DDevice,
                            new FontDescription
            {
                FaceName        = "Malgun Gothic",
                Height          = 15,
                OutputPrecision = FontPrecision.Default,
                Quality         = FontQuality.ClearTypeNatural
            });

            Config = new Menu("Moon Diana", "moondiana", true);

            TargetSelector.AddToMenu(Config.SubMenu("Target Selector"));
            Orbwalker = new MoonDiana.Orbwalking.Orbwalker(Config.SubMenu("Orbwalking"));

            activator = new Menu("Activator", "activator");
            new Smite(TargetSelector.DamageType.Magical, activator);
            new Ignite(TargetSelector.DamageType.Magical, activator);

            drawing = new Menu("Drawings", "drawings");

            Config.AddSubMenu(activator);
            Config.AddSubMenu(drawing);
            SpellDatabase.InitalizeSpellDatabase();
        }
Пример #2
0
        public BaseChamp(string szChampName)
        {
            Text = new Font(Drawing.Direct3DDevice,
                new FontDescription
                {
                    FaceName = "Malgun Gothic",
                    Height = 15,
                    OutputPrecision = FontPrecision.Default,
                    Quality = FontQuality.ClearTypeNatural
                });

            Config = new Menu("Moon Diana", "moondiana", true);

            TargetSelector.AddToMenu(Config.SubMenu("Target Selector"));
            Orbwalker = new MoonDiana.Orbwalking.Orbwalker(Config.SubMenu("Orbwalking"));

            activator = new Menu("Activator", "activator");
            new Smite(TargetSelector.DamageType.Magical, activator);
            new Ignite(TargetSelector.DamageType.Magical, activator);

            drawing = new Menu("Drawings", "drawings");

            Config.AddSubMenu(activator);
            Config.AddSubMenu(drawing);
            SpellDatabase.InitalizeSpellDatabase();
        }