Esempio n. 1
0
 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.";
 }
Esempio n. 2
0
 public static void NotifyBotLoss(BasicBot bot) //Bot died somehow. Stop the match
 {
     instance.Invoke(new Action(() => instance.OnNotifyBotLoss(bot)));
 }