public void UpdateSlotAssignments() { for (int i = 0; i < slotAssignments.Count; i++) { slotAssignments[i].slotIndex = i; } driftOffset = pattern.GetDriftOffset(slotAssignments); }
public void UpdateSlotAssignments() { // Assign sequential slot numbers for (int i = 0; i < Slots.Count; i++) { Slots[i].SlotNumber = i; } // Update drift offset DriftOffset = Pattern.GetDriftOffset(Slots); }