public Event(Func <Node, Graph, Graph, double> reqPossible, Func <Node, Graph, Graph, bool> reqGuaranteed, Action <Node, Graph, Graph> outcome) { if (reqPossible != null) { ReqPossible.Add(reqPossible); } if (reqGuaranteed != null) { ReqGuaranteed.Add(reqGuaranteed); } Outcome.Add(outcome); }
public void AddReqPossible(Func <Node, Graph, Graph, double> req) { ReqPossible.Add(req); }