예제 #1
0
 protected virtual void OnAllInputsFlowed(FilteredList <IColorable> sender)
 {
     if (!GetNotNullInput().Any())
     {
         Clear();
         //InvokeOnFlow();
         FlowResult(null);
     }
     else
     {
         if (!FlowIfCan())
         {
             return;
         }
         base.Flow(this, Color.Mix(Input.Select(inConn => inConn.GetCurrentColor())));
         CurrentColor = null;
         DoWork(); //Flow
     }
 }