private async void btn_EggStart_Click(object sender, EventArgs e) { eggbot = new EggBot(pid, game); btn_EggStop.Enabled = true; btn_EggStart.Enabled = false; await eggbot.RunBot(); }
public static void createEggBot(int iP, int game) { eggBot = new EggBot(iP, game, helper); }