public Node(NodeMachineModel model) : base(model.GetFreeNodeID()) { transform = new Rect(); this.model = model; }
public Node(NodeMachineModel model, Vector2 position) : base(model.GetFreeNodeID()) { this.transform.position = position; this.model = model; }