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; }
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; }
public CameraDragger(XiGame game, EditorController controller) : base(game, dragBeginDelay) { this.controller = controller; }
public FacetContext(XiGame game, EditorController controller) : base(game, controller) { }