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(); }
private void numericTurnTotalExplore_ValueChanged(object sender, EventArgs e) { NumericUpDown nb = sender as NumericUpDown; Explore.setTotalTurnFight((int)nb.Value); }
private void cbxFoodType_SelectedIndexChanged(object sender, EventArgs e) { ComboBox cb = sender as ComboBox; Explore.setFoodType(cb.SelectedIndex); }
private void testButton_Click(object sender, EventArgs e) { Explore.checkFoodFullExp(); }