浏览代码

Take action now depend of MoveAction

Bastien Sevajol 9 年前
父节点
当前提交
bd6553fbe1
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      intelligine/synergy/event/transport/TakeableAction.py

+ 2 - 0
intelligine/synergy/event/transport/TakeableAction.py 查看文件

@@ -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)