Ejemplo n.º 1
0
        /// <summary>
        /// This determines which radio button was clicked.
        /// Each rod has a different timing.
        /// The timing is the time it takes for the casting bar to go from its max value, down to its lowest point and back up to its max value.
        /// I use this method of fishing as it has netted better results over clicking cast as soon as the program detects the casting bar at its max value.
        /// </summary>
        private void rodType_CheckedChanged(object sender, EventArgs e)
        {
            RadioButton radioButton = sender as RadioButton;

            if (woodFishingRod.Checked)
            {
                if (steam)
                {
                    rodType = 1250;
                }
                else
                {
                    rodType = 1260;
                }
            }
            else if (trollingRod.Checked)
            {
                if (steam)
                {
                    rodType = 1350;
                }
                else
                {
                    rodType = 1360;
                }
            }
            else if (spinningRod.Checked)
            {
                if (steam)
                {
                    rodType = 1450;
                }
                else
                {
                    rodType = 1460;
                }
            }
            else if (flyRod.Checked)
            {
                if (steam)
                {
                    rodType = 1520;
                }
                else
                {
                    rodType = 1525;
                }
            }
            else if (legRod.Checked)
            {
                if (steam)
                {
                    rodType = 1580;
                }
                else
                {
                    rodType = 1585;
                }
            }
            rodTimerDebug.Value = rodType;
            helper = new MethodHelper(steam, rodType);
            baitToUseText.Enabled   = true;
            findLocationBtn.Enabled = true;
        }
Ejemplo n.º 2
0
 private void rodTimerDebug_ValueChanged(object sender, EventArgs e)
 {
     rodType = (int)rodTimerDebug.Value;
     //initiliaze helper again to reflect the rodtype change.
     helper = new MethodHelper(steam, rodType);
 }