src/SK_Game/SmallOther/smother.ts
(完整代码) 1KB
//创建用户角色
module game {
export class smother extends eui.Component {
public constructor() {
super();
this.addEventListener(eui.UIEvent.COMPLETE, this.initUI, this);
this.skinName = "resource/egamexml/btns/smover.exml";//全路径名
}
public headimg: eui.Image;
public title: eui.Label;
public about: eui.Label;
public tipgrp: eui.Group;
private move: egret.tween.TweenGroup;
public initUI(): void {
Sys_Gameset.setEXMLAuto(this);
// this.tipgrp.addEventListener(egret.TouchEvent.TOUCH_TAP, this.unloadUI, this);
}
public unloadUI(): void {
this.parent.removeChild(this);
}
public setShow(_t, _a, _img) {
this.title.text = _t;
this.about.text = _a;
if (_img != null) {
this.headimg.source = RES.getRes(_img)
}
}
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
