bin-debug/SK_Game/SelectPlaytbm.js
(完整代码) 1KBvar __reflect = (this && this.__reflect) || function (p, c, t) {
p.__class__ = c, t ? t.push(c) : t = [c], p.__types__ = p.__types__ ? t.concat(p.__types__) : t;
};
var __extends = this && this.__extends || function __extends(t, e) {
function r() {
this.constructor = t;
}
for (var i in e) e.hasOwnProperty(i) && (t[i] = e[i]);
r.prototype = e.prototype, t.prototype = new r();
};
//创建用户角色
var game;
(function (game) {
var SelectPlaytbm = (function (_super) {
__extends(SelectPlaytbm, _super);
function SelectPlaytbm() {
var _this = _super.call(this) || this;
_this.addEventListener(eui.UIEvent.COMPLETE, _this.initUI, _this);
_this.skinName = "resource/egamexml/btns/anbtns.exml"; //全路径名
return _this;
}
SelectPlaytbm.prototype.initUI = function () {
var mytxt = Sys_GameConfig.MyArraytxt;
//随机生成一个字符
this.egtxt.text = mytxt[Math.floor(mytxt.length * Math.random())];
};
SelectPlaytbm.prototype.setTxt = function (stsr) {
this.egtxt.text = stsr;
};
return SelectPlaytbm;
}(eui.Component));
game.SelectPlaytbm = SelectPlaytbm;
__reflect(SelectPlaytbm.prototype, "game.SelectPlaytbm");
})(game || (game = {}));
//# sourceMappingURL=SelectPlaytbm.js.map
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
