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 AddReqGuaranteed(Func <Node, Graph, Graph, bool> req) { ReqGuaranteed.Add(req); }