public SimulatorController(Engine _engine)
        {
            engine = _engine;

            toolContext = new Tools.ToolContext(null, engine);
            keybindings = (new ConfigPanelData()).LoadKeybindings();
            settings = (new ConfigPanelData()).LoadSettings();
        }
        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();
        }
Exemple #3
0
 public Selection(ToolContext context, Engine _engine)
     : base(context, _engine)
 {
 }
Exemple #4
0
 public Tool(ToolContext c, Engine _engine)
 {
     context = c;
     engine = _engine;
 }
Exemple #5
0
 public Rotation(ToolContext context, Engine _engine)
     : base(context, _engine)
 {
 }
Exemple #6
0
 public CreatePoteau(ToolContext context, Engine _engine)
     : base(context, _engine)
 {
     _context = context;
     _validPos = true;
 }
Exemple #7
0
 public CreateLigne(ToolContext context, Engine _engine)
     : base(context, _engine)
 {
 }
Exemple #8
0
 public Move(ToolContext context, Engine _engine)
     : base(context, _engine)
 {
 }
Exemple #9
0
 public Duplicate(ToolContext context, Engine _engine)
     : base(context, _engine)
 {
     engine.setInitPos();
     engine.initializeDuplication();
 }
Exemple #10
0
 public Scale(ToolContext context, Engine _engine)
     : base(context, _engine)
 {
 }
Exemple #11
0
 public ZoomRectangle(ToolContext context, Engine _engine)
     : base(context, _engine)
 {
 }
Exemple #12
0
 public CreateMur(ToolContext context, Engine _engine)
     : base(context, _engine)
 {
 }