public void AttachAllTo(N8Block which, bool absolute) { foreach (N8Tronic t in tronics.Tronics) { if (absolute) { which.AttachToMeAbsolute(t); } else { which.AttachToMe(t); } } }
public void AttachAllNonPositional(N8Block which, bool absolute) { foreach (FlowTronic t in sequence) { if (!t.IsPositionDependent()) { if (absolute) { which.AttachToMeAbsolute(t); } else { which.AttachToMe(t); } } } foreach (DataBlock db in data) { if (absolute) { which.AttachToMeAbsolute(db); } else { which.AttachToMe(db); } } }