|
@@ -34,8 +34,6 @@ directions_red_ant = DirectionnedImage(red_ant)
|
34
|
34
|
directions_blue_ant = DirectionnedImage(blue_ant)
|
35
|
35
|
directions_green_ant = DirectionnedImage(green_ant)
|
36
|
36
|
|
37
|
|
-# TODO: context donne au callbacks
|
38
|
|
-
|
39
|
37
|
def bug_direction(bug, context):
|
40
|
38
|
if bug.get_life_points() <= 0:
|
41
|
39
|
return dead_ant
|