コード例 #1
0
        private void explore_button_Click(object sender, EventArgs e)
        {
            Explore.setFoodType(cbxFoodType.SelectedIndex);
            Global.isStop = false;
            Task t = new Task(() =>
            {
                while (!Global.isStop)
                {
                    Explore.ExploreAction();
                }
                GameHelper.Log("Explore Finish");
            });

            t.Start();
        }
コード例 #2
0
        private void numericTurnTotalExplore_ValueChanged(object sender, EventArgs e)
        {
            NumericUpDown nb = sender as NumericUpDown;

            Explore.setTotalTurnFight((int)nb.Value);
        }
コード例 #3
0
        private void cbxFoodType_SelectedIndexChanged(object sender, EventArgs e)
        {
            ComboBox cb = sender as ComboBox;

            Explore.setFoodType(cb.SelectedIndex);
        }
コード例 #4
0
 private void testButton_Click(object sender, EventArgs e)
 {
     Explore.checkFoodFullExp();
 }