Exemplo n.º 1
0
        protected override void Initialize()
        {
            App.Register();
            BoardExtensions.Initialize();

            _mouseComponent = DependencyInjection.Resolve<IMouseComponent>();
            _mouseDrawer = DependencyInjection.Resolve<IMouseDrawer>();
            _keyboardComponent = DependencyInjection.Resolve<IKeyboardComponent>();
            _keyboardControl = DependencyInjection.Resolve<IKeyboardControl>();

            base.Initialize();
        }
Exemplo n.º 2
0
        protected override void Initialize()
        {
            App.Register();
            BoardExtensions.Initialize();

            _mouseComponent    = DependencyInjection.Resolve <IMouseComponent>();
            _mouseDrawer       = DependencyInjection.Resolve <IMouseDrawer>();
            _keyboardComponent = DependencyInjection.Resolve <IKeyboardComponent>();
            _keyboardControl   = DependencyInjection.Resolve <IKeyboardControl>();

            base.Initialize();
        }
Exemplo n.º 3
0
        protected override void Initialize()
        {
            _editArea = new AreaRectangle(100, 50, 400, 450, new Color(255, 255, 255, 100));

            App.Register();
            _mouseComponent    = DependencyInjection.Resolve <IMouseComponent>();
            _mouseInput        = DependencyInjection.Resolve <IMouseInput>();
            _mouseDrawer       = DependencyInjection.Resolve <IMouseDrawer>();
            _settings          = DependencyInjection.Resolve <ISettings>();
            _map               = DependencyInjection.Resolve <IMapComponent>();
            _keyboardComponent = DependencyInjection.Resolve <IKeyboardComponent>();

            base.Initialize();
        }
Exemplo n.º 4
0
        protected override void Initialize()
        {
            _editArea = new AreaRectangle(100, 50, 400, 450, new Color(255, 255, 255, 100));

            App.Register();
            _mouseComponent = DependencyInjection.Resolve<IMouseComponent>();
            _mouseInput = DependencyInjection.Resolve<IMouseInput>();
            _mouseDrawer = DependencyInjection.Resolve<IMouseDrawer>();
            _settings = DependencyInjection.Resolve<ISettings>();
            _map = DependencyInjection.Resolve<IMapComponent>();
            _keyboardComponent = DependencyInjection.Resolve<IKeyboardComponent>();

            base.Initialize();
        }