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