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();
}