public Node(Node parent, float runningCost, HashSet <KeyValuePair <string, object> > state, GoapAction action) { this.parent = parent; this.runningCost = runningCost; this.state = state; this.action = action; }