public MouseInputEngine(Game game, XnaUIFrame frame)
     : base(game)
 {
     this.frame = frame;
 }
        /// <summary>
        /// Setup View for the gameplay
        /// </summary>
        private void SetupView()
        {
            view = new XnaUIFrame(this);
            view.DrawBox = new Rectangle(0, 0, WINDOW_WIDTH, WINDOW_HEIGHT);
            MapView mainView = new MapView(this);
            mainView.DrawBox = new Rectangle(0, 0, 1280, 720);

            SelectionState selectionState = model.GetSelectionState();
            SelectionView selectionView = new SelectionView(this, selectionState);
            selectionView.DrawBox = new Rectangle(275, 520, 730, 200);
            SameSizeChildrenFlowLayout selectedEntityUIHolder = new SameSizeChildrenFlowLayout(this);
            selectedEntityUIHolder.DrawBox = new Rectangle(215, 25, 450, 150);
            selectionView.AddChild(selectedEntityUIHolder);

            CommandView commandView = new CommandView(this);
            commandView.DrawBox = new Rectangle(1005, 445, 275, 275);
            SameSizeChildrenFlowLayout commandViewButtonBox = new SameSizeChildrenFlowLayout(this);
            selectionView.commandBar = commandView; // Register commandView to selection View

            view.AddChild(mainView);
            view.AddChild(selectionView);
            view.AddChild(commandView);
        }