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(); }
//////////////////////////////////////////////////////////////////////// /// /// @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; }