src/SK_Game/Zhaomota.ts
(开头部分) 10KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
module game {
export class Zhaomota extends eui.Component {
public constructor() {
super();
this.addEventListener(eui.UIEvent.COMPLETE, this.initUI, this);
this.skinName = "resource/egamexml/ZhaoMota.exml";
}
/**
* 初始化面板ui
*/
public closebtn: eui.Button;
public aboutTxt: eui.Label;
public DrawFu: eui.Group;
private stand: egret.tween.TweenGroup;
public loadwm: eui.Group;
public gwzhaoimg: eui.Image;
public GpAll: eui.Group;
public cardname: eui.Label;
public cardlvimg: eui.Image;
public zhuanhuanlizi: particle.ParticleSystem;
public zhsound: egret.Sound;
public myzmnums: eui.Label;
public myZhaoNum: number;
public butiteamShop: eui.Button;
public initUI(): void {
//自适应
Sys_Gameset.setEXMLAuto(this);
Sys_Gameset.playAnimation(this.stand, true)
Sys_GameConfig.drwamota = this;
this.closebtn.addEventListener(egret.TouchEvent.TOUCH_TAP, this.unloadUI, this);
this.aboutTxt.text = "每次召唤可随机获得一个魔物,如果召唤出已有魔物则会提升魔物等级,每个解锁的魔物,会根据魔物等级,每小时给你带来可观的收入哦!"
this.cardlvimg.source = "";
this.DrawFu.addEventListener(egret.TouchEvent.TOUCH_BEGIN, this.DrawMaps, this);
this.DrawFu.addEventListener(egret.TouchEvent.TOUCH_MOVE, this.DrawMovie, this);
this.DrawFu.addEventListener(egret.TouchEvent.TOUCH_END, this.DrawEnd, this);
this.DrawFu.addEventListener(egret.TouchEvent.TOUCH_RELEASE_OUTSIDE, this.DrawEnd, this);
var texture = RES.getRes("zhaohuan_png");
var config = RES.getRes("zhaohuan_json");
this.zhuanhuanlizi = new particle.GravityParticleSystem(texture, config);
this.DrawFu.addChild(this.zhuanhuanlizi);
this.zhuanhuanlizi.x = 50;
this.zhuanhuanlizi.y = 70;
//查询召唤卷轴的数量
后面还有 215 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
