Browse Source

Take action now depend of MoveAction

Bastien Sevajol 9 years ago
parent
commit
bd6553fbe1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      intelligine/synergy/event/transport/TakeableAction.py

+ 2 - 0
intelligine/synergy/event/transport/TakeableAction.py View File

@@ -1,3 +1,4 @@
1
+from intelligine.synergy.event.move.MoveAction import MoveAction
1 2
 from synergine.synergy.event.Action import Action
2 3
 from intelligine.synergy.event.transport.TakeableEvent import TakeableEvent
3 4
 from intelligine.cst import CANT_PUT_STILL
@@ -7,6 +8,7 @@ from synergine.synergy.event.exception.ActionAborted import ActionAborted
7 8
 class TakeableAction(Action):
8 9
 
9 10
     _listen = TakeableEvent
11
+    _depend = [MoveAction]
10 12
 
11 13
     def __init__(self, object_id, parameters):
12 14
         super().__init__(object_id, parameters)