public NodeEvent(EventType type, NodeGUI node, Vector2 localMousePos, ConnectionPointData point)
{
this.eventType = type;
this.eventSourceNode = node;
this.point = point;
this.globalMousePosition = new Vector2(localMousePos.x + node.GetX(), localMousePos.y + node.GetY());
}