v1.4.1beat2.1
用下面的代码会提示:
Can not instantiate CCClass ‘undefined’ with arguments.
只截了部分代码
var Area = cc.Class({
ctor: function (opts, map, ui) {
this.playerId = opts.curPlayer.id;
this.entities = {};
this.players = {};
this.map = null;
this.componentAdder = new ComponentAdder({area: this});
this.gameui = ui;
this.scene = ui.mapNode;
//测试
//this.scene;
this.skch = opts.skch;
this.gd = opts.gd;
this.gv = opts.gv;
this.isStopped = false;
this.init(opts, map, ui);
}

