Beispiel #1
0
 public void Start () {
     if (Current == null) {
         Reaction reaction;
         if (correspondences.TryGetValue(GetKey(), out reaction)) {
             current = reaction;
             current.Start(components.FindAll(
                 item => Current.TReagents.Any(
                     t => t == item.GetType())).ToArray());
         }
     }
 }
Beispiel #2
0
 public override void Clear() {
     components.Clear();
     current = null;
     result = null;
 }