Example #1
0
        public EditorController(Engine _engine)
        {
            engine = _engine;
            var selectTool = new Tools.Selection(toolContext, engine);

            toolContext = new Tools.ToolContext(selectTool, engine);
            keybindings = (new ConfigPanelData()).LoadKeybindings();
            settings = (new ConfigPanelData()).LoadSettings();
        }
Example #2
0
        ////////////////////////////////////////////////////////////////////////
        ///
        /// @fn void EditorController::select()
        ///
        /// Active l'outils de sélection
        /// 
        /// @return Aucun
        ///
        ////////////////////////////////////////////////////////////////////////
        public void select()
        {
            var selectTool = new Tools.Selection(toolContext, engine);

            toolContext.ChangeState(selectTool);
            isChanged = true;
        }