示例#1
0
        public SimulatorController(Engine _engine)
        {
            engine = _engine;

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