ソースを参照

更新 '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();