public void AddMelody(Melody melody) { melody.Analyze(); _targets[_targetCount++].SetMelody(melody); _targetCount %= MaxTargetCount; Melodies.Add(melody); }