use strict mode
This commit is contained in:
parent
417495cc33
commit
62e9426ef7
@ -3,6 +3,8 @@ actions.js:用户交互的事件的处理
|
|||||||
键盘、鼠标、触摸屏事件相关
|
键盘、鼠标、触摸屏事件相关
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function actions() {
|
function actions() {
|
||||||
this.init();
|
this.init();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,6 +4,8 @@ control.js:游戏主要逻辑控制
|
|||||||
寻路算法和人物行走也在此文件内
|
寻路算法和人物行走也在此文件内
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function control() {
|
function control() {
|
||||||
this.init();
|
this.init();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,6 +2,8 @@
|
|||||||
* 初始化 start
|
* 初始化 start
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function core() {
|
function core() {
|
||||||
this.material = {
|
this.material = {
|
||||||
'animates': {},
|
'animates': {},
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
"use strict";
|
||||||
|
|
||||||
function data() {
|
function data() {
|
||||||
this.init();
|
this.init();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
"use strict";
|
||||||
|
|
||||||
function enemys() {
|
function enemys() {
|
||||||
this.init();
|
this.init();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
"use strict";
|
||||||
|
|
||||||
function events() {
|
function events() {
|
||||||
this.init();
|
this.init();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
"use strict";
|
||||||
|
|
||||||
function icons() {
|
function icons() {
|
||||||
this.init();
|
this.init();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
"use strict";
|
||||||
|
|
||||||
function items() {
|
function items() {
|
||||||
this.init();
|
this.init();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
loader.js:负责对资源的加载
|
loader.js:负责对资源的加载
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function loader() {
|
function loader() {
|
||||||
this.init();
|
this.init();
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
"use strict";
|
||||||
|
|
||||||
function maps() {
|
function maps() {
|
||||||
this.init();
|
this.init();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -3,6 +3,9 @@
|
|||||||
* 包括:
|
* 包括:
|
||||||
* 自动寻路、怪物手册、楼传器、存读档、菜单栏、NPC对话事件、等等
|
* 自动寻路、怪物手册、楼传器、存读档、菜单栏、NPC对话事件、等等
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function ui() {
|
function ui() {
|
||||||
this.init();
|
this.init();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -3,6 +3,8 @@ utils.js 工具类
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function utils() {
|
function utils() {
|
||||||
this.init();
|
this.init();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user