Browse Source

delete old code

Bastien Sevajol 9 years ago
parent
commit
3cbd92b4d4
1 changed files with 0 additions and 10 deletions
  1. 0 10
      intelligine/simulation/object/brain/part/move/AntMoveBrainPart.py

+ 0 - 10
intelligine/simulation/object/brain/part/move/AntMoveBrainPart.py View File

@@ -47,16 +47,6 @@ class AntMoveBrainPart(MoveBrainPart):
47 47
         super().done(obj, context)
48 48
         self._appose_pheromone(obj)
49 49
 
50
-        # # TEST: le temps de tout tester
51
-        # if obj.get_position() == obj.get_colony().get_start_position() and obj.is_carrying():
52
-        #     obj_transported = obj.get_carried()
53
-        #     obj_transported.set_carried_by(None)
54
-        #     obj.put_carry(obj_transported, (-1, 0, 0))
55
-        #     obj.get_brain().switch_to_mode(MOVE_MODE_EXPLO)
56
-        #     context.metas.collections.add_remove(obj.get_id(),
57
-        #                                          COL_TRANSPORTER_NOT_CARRYING,
58
-        #                                          COL_TRANSPORTER_CARRYING)
59
-
60 50
     @staticmethod
61 51
     def _appose_pheromone(obj):
62 52
         obj.get_movement_pheromone_gland().appose()