コード例 #1
0
        public App()
        {
            _appOperationQueue = new AppOperationQueue();
            _commandHandler    = new SettingsCommandHandler(_appOperationQueue);

            _graphicsDeviceManager = new GraphicsDeviceManager(this);

            IsMouseVisible            = true;
            Window.AllowUserResizing  = true;
            Window.ClientSizeChanged += WindowOnClientSizeChanged;
        }
コード例 #2
0
 public InputHandler(EditorUiController uiController,
                     ParticleCamera camera,
                     SettingsCommandHandler commandHandler,
                     AppOperationQueue appOperationQueue,
                     ApplicationState applicationState)
 {
     _uiController      = uiController;
     _camera            = camera;
     _commandHandler    = commandHandler;
     _appOperationQueue = appOperationQueue;
     _applicationState  = applicationState;
 }