Added Swiper drawing

This commit is contained in:
logsol 2014-12-08 19:36:14 +01:00
parent cf2182676b
commit 1e233efbea
6 changed files with 85 additions and 7 deletions

View file

@ -104,7 +104,6 @@ function (Parent, KeyboardInput, DomController, Settings, Swiper) {
canvas.onmouseup = function(e) {
if(self.swiper) {
console.log(e)
var xya = self.swiper.swipeEnd(e.x, e.y);
self.playerController.handActionRequest(xya.x, xya.y);
self.swiper = null;