Example #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;
 }
Example #2
0
 public CameraContext(XiGame game, EditorController controller) : base(game, controller)
 {
     cameraDragger = new CameraDragger(game, controller);
 }
 public ControllerContext(XiGame game, EditorController controller)
 {
     XiHelper.ArgumentNullCheck(game);
     this.game = game;
     this.controller = controller;
 }
Example #4
0
 public CameraDragger(XiGame game, EditorController controller)
     : base(game, dragBeginDelay)
 {
     this.controller = controller;
 }
Example #5
0
 public FacetContext(XiGame game, EditorController controller) : base(game, controller) { }