use strict mode

This commit is contained in:
ckcz123 2018-11-25 15:27:18 +08:00
parent 417495cc33
commit 62e9426ef7
12 changed files with 24 additions and 0 deletions

View File

@ -3,6 +3,8 @@ actions.js用户交互的事件的处理
键盘鼠标触摸屏事件相关
*/
"use strict";
function actions() {
this.init();
}

View File

@ -4,6 +4,8 @@ control.js游戏主要逻辑控制
寻路算法和人物行走也在此文件内
*/
"use strict";
function control() {
this.init();
}

View File

@ -2,6 +2,8 @@
* 初始化 start
*/
"use strict";
function core() {
this.material = {
'animates': {},

View File

@ -1,3 +1,5 @@
"use strict";
function data() {
this.init();
}

View File

@ -1,3 +1,5 @@
"use strict";
function enemys() {
this.init();
}

View File

@ -1,3 +1,5 @@
"use strict";
function events() {
this.init();
}

View File

@ -1,3 +1,5 @@
"use strict";
function icons() {
this.init();
}

View File

@ -1,3 +1,5 @@
"use strict";
function items() {
this.init();
}

View File

@ -2,6 +2,7 @@
loader.js负责对资源的加载
*/
"use strict";
function loader() {
this.init();

View File

@ -1,3 +1,5 @@
"use strict";
function maps() {
this.init();
}

View File

@ -3,6 +3,9 @@
* 包括
* 自动寻路怪物手册楼传器存读档菜单栏NPC对话事件等等
*/
"use strict";
function ui() {
this.init();
}

View File

@ -3,6 +3,8 @@ utils.js 工具类
*/
"use strict";
function utils() {
this.init();
}