private void OnNotifyBotLoss(BasicBot bot) { StopMatch(); Console.WriteLine($"Bot '{bot.Name}' (ID {bot.ID}) died. Match stopped."); statusLabel.Text = $"Bot {bot.ID + 1} died. Match stopped."; }
public static void NotifyBotLoss(BasicBot bot) //Bot died somehow. Stop the match { instance.Invoke(new Action(() => instance.OnNotifyBotLoss(bot))); }