コード例 #1
0
        private static void Main(string[] args)
        {
            Loading.OnLoadingComplete += delegate
            {
                _spellDetector = new SpellDetector(DeveloperMode ? DetectionTeam.AnyTeam : DetectionTeam.EnemyTeam);
                EvadeMenu.CreateMenu();
                new Evading.MoonWalkEvade(_spellDetector);


                Collision.Init();
                Debug.Init(ref _spellDetector);

                Core.DelayAction(() =>
                {
                    introImg = new Sprite(TextureLoader.BitmapToTexture(Resources.moonWalkTransparent));
                    Chat.Print(
                        "<b><font size='20' color='#4B0082'>Moon Walk Evade</font><font size='20' color='#FFA07A'> Loaded</font></b>");

                    Drawing.OnDraw += DrawingOnOnDraw;
                    Core.DelayAction(() =>
                    {
                        Drawing.OnDraw -= DrawingOnOnDraw;
                    }, 7000);
                }, 2000);
            };
        }
コード例 #2
0
        private static void Main(string[] args)
        {
            Loading.OnLoadingComplete += delegate
            {
                _spellDetector = new SpellDetector(DeveloperMode ? DetectionTeam.AnyTeam : DetectionTeam.EnemyTeam);
                new Evading.MoonWalkEvade(_spellDetector);
                EvadeMenu.CreateMenu();

                Collision.Init();
                Debug.Init(ref _spellDetector);
            };
        }