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