定义:
var Global = function(){
/**界面相关变量 */
this.curPlaneID = 1;
//当前关卡
this.curStageID = 2;
}
module.exports
定义:
var Global = function(){
/**界面相关变量 */
this.curPlaneID = 1;
//当前关卡
this.curStageID = 2;
}
module.exports