Files

35 lines
932 B
JavaScript
Raw Permalink Normal View History

2026-05-23 22:10:14 +08:00
// --------------------------------------------------------------------
// @author: xxx@syg.com(必填, 创建模块的人员)
// @description:
// 这里填写详细说明,主要填写该模块的功能简要
// <br/>Create: 2019-03-16 10:23:00
// --------------------------------------------------------------------
const BridgeClass = require( "bridge.class" );
var PrimusModel = cc.Class({
extends: BridgeClass,
ctor: function () {
},
properties: {
},
initConfig: function () {
// 是否显示红点 策划要求.点一次界面就消除
this.is_show_redpoint = true
// 挑战次数
this.challenge_count = 0
// 挑战冷却时间
this.challenge_time = 0
},
recordChallengeCount:function(data){
this.challenge_count = data.num || 0;
this.challenge_time = data.time || 0;
},
checkRedStatus:function(){
},
});