dd
This commit is contained in:
@@ -89,7 +89,7 @@ export class CardsCompComp extends CCComp {
|
||||
|
||||
/** 添加卡牌展示到队列 */
|
||||
private addToQueue(e: GameEvent, data?: any) {
|
||||
console.log("[CardsComp]:添加卡牌到队列", e);
|
||||
console.log("[CardsComp]:添加卡牌到队列", e,data);
|
||||
this.cardQueue.push({type: e, data: data});
|
||||
this.processQueue();
|
||||
}
|
||||
@@ -119,7 +119,7 @@ export class CardsCompComp extends CCComp {
|
||||
case GameEvent.CardRefresh:
|
||||
console.log("[CardsComp]:显示随机刷新卡牌")
|
||||
this.node.getChildByName("Button").active=true
|
||||
this.random_select()
|
||||
this.func_select()
|
||||
break
|
||||
}
|
||||
this.show()
|
||||
@@ -173,7 +173,7 @@ export class CardsCompComp extends CCComp {
|
||||
.start();
|
||||
}
|
||||
clear_cards(){
|
||||
console.log("[CardsComp]:清除卡牌队列")
|
||||
// console.log("[CardsComp]:清除卡牌队列")
|
||||
this.cardQueue = [];
|
||||
this.close_cards(GameEvent.CardsClose,null)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user