private Animation.Timing GetTiming()
{
var timing = new Animation.Timing
{
frame = (int)this.numericUpDownFrame.Value,
condition = this.comboBoxCondition.SelectedIndex,
flash_duration = (int)this.numericUpDownDuration.Value,
flash_color = this.panelColor.BackColor
};
timing.flash_color.alpha = (float)this.numericUpDownStrength.Value;
var btns = new List<RadioButton> { this.radioNone, this.radioTarget, this.radioScreen, this.radioHide };
timing.flash_scope = btns.FindIndex(btn => btn.Checked);
timing.se = this.textBoxSE.Tag == null ? new AudioFile() : (AudioFile)this.textBoxSE.Tag;
return timing;
}