Commit 942afd4d by Shawn Wang

fix

parent b35a62d8
...@@ -62,7 +62,6 @@ class Controller extends egret.Sprite { ...@@ -62,7 +62,6 @@ class Controller extends egret.Sprite {
controlContainer.addChild(this.down) controlContainer.addChild(this.down)
controlContainer.addChild(this.left) controlContainer.addChild(this.left)
controlContainer.addChild(this.right) controlContainer.addChild(this.right)
}
const me = Store.getState().runners.find(runner => runner.t_cid === Store.getState().cid) const me = Store.getState().runners.find(runner => runner.t_cid === Store.getState().cid)
...@@ -75,6 +74,7 @@ class Controller extends egret.Sprite { ...@@ -75,6 +74,7 @@ class Controller extends egret.Sprite {
} }
}) })
} }
}
private controlTouchBegin(e: egret.TouchEvent){ private controlTouchBegin(e: egret.TouchEvent){
const delta = {x:0, y: 0} const delta = {x:0, y: 0}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment