大约有 24 项符合查询结果, 库内数据总量为 14,848 项。 (搜索耗时: 0.0179 秒)
...nextTurn); if (this.isAbleToOut) { this.computerOutPoker(this.turnNumber); switch(this.turnNumber) { case 1: this.setLableText("小明出牌了") break; case 2: this.setLableText("小红出牌了") break; case 3: this.setLableText("静静出牌了") break; } //笔记 for (var j = 0; j < this.aaa....
来源: Laya_社区 发布时间: 20180626
...aya.ui.HBox(); for (var i: number = 0; i < 10; i++) { var skin: string; switch (i) { case 0: skin = "comp/bg.png"; break; case 1: skin = "comp/blank.png"; break; case 2: skin = "comp/btn_close.png"; break; case 3: skin = "comp/button.png"; break; case 4: skin = "comp/checkbox.png"; break; case 5:...
来源: Laya_社区 发布时间: 20170607
...,为什么会报6 Reader.prototype.skipType = function(wireType) { switch (wireType) { case 0: this.skip(); break; case 1: this.skip(8); break; case 2: this.skip(this.uint32()); break; case 3: do { // eslint-disable-line no-constant-condition if ((wireType = this.uint32() & 7) === 4) bre...
来源: Laya_社区 发布时间: 20191202
对象池的使用 private function creatRen(lei):void { var url:String switch(lei){ case 1: url = "tu/白.png" break; case 2: url = "tu/花旦.png" break; case 3: url = "tu/zhadan.png" break; } var nan:Image = Pool.getItemByClass("nam", Image); nan.skin = url; nan.x = Math.random() * 600 + 80; nan...
来源: Laya_社区 发布时间: 20171226
...console.log(sprite.y) ; console.log("once done") ; } function onWalk(dir){ switch(dir){ case "up": hero_p1.roleAni.play(0,true,"p1_walk_up"); Laya.stage.addChild(hero_p1.roleAni); break ; case "down": hero_p1.roleAni.play(0,true,"p1_walk_down"); Laya.stage.addChild(hero_p1.roleAni); break ; case "le...
来源: Laya_社区 发布时间: 20180331
... 更新岛 _proto.update = function(target){ var obj = {}; // 解析target switch (target.type) { case 1: obj.type = "mountain"; break; case 2: obj.type = "statue"; break; case 3: obj.type = "tower"; break; case 4: obj.type = "angel"; break; case 5: obj.type = "aeroboat"; break; default: alert("网...
来源: Laya_社区 发布时间: 20170720
...Label(e:String):void//e: 返回一个String,值为addLabel的标签名 { switch(e) { case "label01":trace("我是标签1"); break; case "label02":trace("我是标签2"); break; case "label03":trace("我是标签3"); break; default: break; } } } } 附件 : --> SwfLabelUse.rar 2017-07-05 添加评...
来源: Laya_社区 发布时间: 20170705
...):void { if (screenPos) { switch (_map.orientation) { case TiledMap.ORIENTATION_ISOMETRIC: screenPos.x = _map.width / 2 - (tileY - tileX) * _tileWidthHalf; ...
来源: Laya_社区 发布时间: 20161109
... if (property instanceof Material) { switch (node.type) { case KeyFrameValueType.Float: property = property.getFloat(node.getPropertyByIndex(i)); ...
来源: Laya_社区 发布时间: 20240517
...seEvent"); trace("e "+e.target); switch (e.type) { case Event.MOUSE_DOWN: trace("press"); e.target.startDrag(); ...
来源: Laya_社区 发布时间: 20170517