Esempio n. 1
0
 public EditorTreeViewWrapper(XiGame game, EditorController controller, TreeView treeView)
 {
     XiHelper.ArgumentNullCheck(game, controller, treeView);
     this.controller = controller;
     this.treeView = treeView;
     game.SimulationStructureChanged += game_SimulationStructureChanged;
     game.SimulationSelectionChanged += game_SimulationSelectionChanged;
     treeView.MouseDown += treeView_MouseDown;
     treeView.AfterSelect += treeView_AfterSelect;
 }
Esempio n. 2
0
 public CameraContext(XiGame game, EditorController controller) : base(game, controller)
 {
     cameraDragger = new CameraDragger(game, controller);
 }
Esempio n. 3
0
 public ControllerContext(XiGame game, EditorController controller)
 {
     XiHelper.ArgumentNullCheck(game);
     this.game = game;
     this.controller = controller;
 }
Esempio n. 4
0
 public CameraDragger(XiGame game, EditorController controller)
     : base(game, dragBeginDelay)
 {
     this.controller = controller;
 }
Esempio n. 5
0
 public FacetContext(XiGame game, EditorController controller) : base(game, controller) { }