public void changeColor(int index, Color color) { colors[index] = new PatternColor(color, colors[index].duration); }
public void addColor(PatternColor color) { colors.Add(color); }