Ejemplo n.º 1
0
        public Config(Lazy <IInputManager> InputManager)
        {
            MenuFactory = MenuFactory.CreateWithTexture("DotaMapPlus", "dotamapplus");
            MenuFactory.Target.SetFontColor(Color.Aqua);

            ZoomHack = new ZoomHack(MenuFactory, InputManager);

            ConsoleCommands = new ConsoleCommands(MenuFactory);

            WeatherHack = new WeatherHack(MenuFactory);
        }
Ejemplo n.º 2
0
        public Config()
        {
            var rootMenu = MenuManager.CreateRootMenu("DotaMapPlus");

            rootMenu.SetFontColor(Color.Aqua);

            ZoomHack = new ZoomHack(rootMenu);

            ConsoleCommands = new ConsoleCommands(rootMenu);

            WeatherHack = new WeatherHack(rootMenu);
        }
Ejemplo n.º 3
0
        protected virtual void Dispose(bool disposing)
        {
            if (Disposed)
            {
                return;
            }

            if (disposing)
            {
                ZoomHack.Dispose();
                ConsoleCommands.Dispose();
                WeatherHack.Dispose();
                MenuFactory.Dispose();
            }

            Disposed = true;
        }