瀏覽代碼

更新 'games/yqrxd/launcher/game-min.js'

yunhaipiaodi 6 年之前
父節點
當前提交
2d5eb486b4
共有 1 個文件被更改,包括 0 次插入16 次删除
  1. 0 16
      games/yqrxd/launcher/game-min.js

+ 0 - 16
games/yqrxd/launcher/game-min.js

@@ -3317,22 +3317,6 @@ var __extends = this.__extends || function(c, d) {
         };
       
       
-      	//添加左右键盘按键操作
-        d.prototype.createKeyEvent = function(){
-            document.onkeydown = function (event) {
-                var e = event || window.event || arguments.callee.caller.arguments[0];
-
-
-                if(e && e.keyCode == 39){       //右方向键
-                    this.clickBtnNum = 1;
-                }
-
-                if(e && e.keyCode == 37){       //左方向键
-                    this.clickBtnNum = 0;
-                }
-                this.checkValue();
-            };
-        }
       	
         d.prototype.doClickYes = function() {
             0.3 > Math.random() ? this.ySound1.play() : 0.6 > Math.random() ? this.ySound2.play() : this.ySound3.play();