public GOAPAction SetEffect(GOAPKeyEnum name, Func <object, object> value) { effects[name] = value; return(this); }
public GOAPAction SetPrecondition(GOAPKeyEnum name, Func <object, bool> value) { preconditions[name] = value; return(this); }