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