Browse Source

delete unused import in MoveAction

Bastien Sevajol 9 years ago
parent
commit
a109798c62
1 changed files with 4 additions and 8 deletions
  1. 4 8
      intelligine/synergy/event/move/MoveAction.py

+ 4 - 8
intelligine/synergy/event/move/MoveAction.py View File

@@ -1,16 +1,12 @@
1 1
 from synergine.synergy.event.Action import Action
2 2
 from intelligine.synergy.event.move.MoveEvent import MoveEvent
3 3
 from random import randint, choice, randrange
4
-from xyzworld.cst import POSITION, POSITIONS
5
-from intelligine.cst import PREVIOUS_DIRECTION, BLOCKED_SINCE, MOVE_MODE, MOVE_MODE_GOHOME, MOVE_MODE_EXPLO, \
6
-                            PHEROMON_DIR_EXPLO, PHEROMON_DIR_HOME, PHEROMON_DIRECTION, \
7
-    COL_TRANSPORTER_NOT_CARRYING, COL_TRANSPORTER_CARRYING
4
+from xyzworld.cst import POSITION
5
+from intelligine.cst import PREVIOUS_DIRECTION, BLOCKED_SINCE, MOVE_MODE, MOVE_MODE_EXPLO
6
+from intelligine.cst import COL_TRANSPORTER_NOT_CARRYING, COL_TRANSPORTER_CARRYING
8 7
 from intelligine.synergy.event.move.direction import directions_same_level, directions_modifiers, directions_slighty
9
-from intelligine.core.exceptions import NoPheromoneMove, NoPheromone, BestPheromoneHere
10
-import operator
8
+from intelligine.core.exceptions import NoPheromone, BestPheromoneHere
11 9
 from intelligine.simulation.pheromone.DirectionPheromone import DirectionPheromone
12
-from xyzworld.geometry import get_degree_from_north
13
-from intelligine.synergy.event.move.direction import get_direction_for_degrees, directions_opposites
14 10
 
15 11
 
16 12
 class MoveAction(Action):