summaryrefslogtreecommitdiff
path: root/Entelect.BattleCity.Challenge
diff options
context:
space:
mode:
authorJustin Worthe <justin.worthe@entelect.co.za>2013-10-20 20:25:06 +0200
committerJustin Worthe <justin.worthe@entelect.co.za>2013-10-20 20:25:06 +0200
commit0214ef19d4de64ba43360c07189967c3aa75a8c7 (patch)
treef63fbe71167736851774d5a90c5027c22adb6475 /Entelect.BattleCity.Challenge
parente9bcab6de9f10f264770490d4a002864f052dbdc (diff)
Removed unneeded (and commented) event handling code
Diffstat (limited to 'Entelect.BattleCity.Challenge')
-rw-r--r--Entelect.BattleCity.Challenge/AiAgent.cs17
1 files changed, 0 insertions, 17 deletions
diff --git a/Entelect.BattleCity.Challenge/AiAgent.cs b/Entelect.BattleCity.Challenge/AiAgent.cs
index 56035e1..392202b 100644
--- a/Entelect.BattleCity.Challenge/AiAgent.cs
+++ b/Entelect.BattleCity.Challenge/AiAgent.cs
@@ -35,23 +35,6 @@ namespace Entelect.BattleCity.Challenge
return null;
}
- /*if (game.events != null && game.events.unitEvents != null)
- {
- foreach (var unitEvent in game.events.unitEvents)
- {
- if (unitEvent.unit != null && unitEvent.unit.id == _tankId && unitEvent.bullet != null)
- {
- Console.WriteLine("Tank was shot");
- return null;
- }
- }
- Console.WriteLine("No relevant events in unit events list", _tankId);
- }
- else
- {
- Console.WriteLine("No events in unit events list", _tankId);
- }*/
-
if (me.bullets != null)
{
foreach (var bullet in me.bullets)