// Called when the game sends out an error message during the battle private static void BattleError(BattleErrorEvent e) { Console.WriteLine("Err> " + e.Error); }
private void _robocode_BattleError(BattleErrorEvent evnt) { Console.WriteLine("BattleErrorEvent: " + evnt.Error); _battleErrorEvents.Add(evnt); }