public void Create(int nodeID, Vector2 guiPosition, ParentNode parent, BehaviourTree tree) { GUIBehaviour gui = new GUIBehaviour(nodeID, guiPosition); tree.AddGUINode(gui); activeTasks = new List <TaskNode>(); this.view = gui; this.view.SetModel(this); this.tree = tree; tree.SetBehaviour(this); }