首页 > 其他 > 详细

10.10

时间:2017-10-15 10:10:52      阅读:252      评论:0      收藏:0      [点我收藏+]
changeAtlasScoreString : function (score,tfScore) {
if(tfScore.getDescription() == "LabelAtlas")//判断是否为艺术字
//if(tfScore instanceof ccui.TextAtlas)
return score.toString().replace("-", "/");
else
return score.toString();
},

balanceScore : function(num)//头像分数显示赋值
{
this.score += num;
var score = this.score;
var scoreStr = this.changeAtlasScoreString(score,this.tfScore);
this.tfScore.setString(scoreStr);
},

10.10

原文:http://www.cnblogs.com/luorende/p/7644587.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!