Game.End=function(game){};Game.End.prototype={create:function(){if(best_score==0){if(typeof(Storage)!=="undefined"){var tmp=localStorage.getItem("7_best_score");if(tmp>0)best_score=tmp}}var str="您的分数\n击败了全国",cmt="";tit="";if(score<100){cmt=str+"26%的人!\n\n对不起广大人民群众呐!";tit="对不起人民群众"}if(score>=100&&score<200){cmt=str+"43%的人!\n\n还是可以抢救一下的!";tit="智商还是可以抢救一下"}if(score>=200&&score<300){cmt=str+"65%的人!\n\n请继续努力!";tit="有待努力的普通人"}if(score>=300&&score<400){cmt=str+"81%的人!\n\n距离顶尖仅有一步之遥!";tit="万里挑一的天才"}if(score>=400&&score<500){cmt=str+"95%的人!\n\n站在巅峰的感觉如何?!";tit="人在巅峰很寂寞"}if(score>=500){cmt=str+"99%的人!\n\n请问你来地球的目的是什么?"tit="请问你来地球的目的是什么"}game.add.text(w/2,h/2-70,"您的得分为 : "+score+"\n最高得分 : "+best_score+"\n\n"+cmt,{font:"30px Arial",fill:"#2c3e50",align:"center"}).anchor.setTo(0.5,0.5);if(score>best_score){best_score=score;if(typeof(Storage)!=="undefined")localStorage.setItem("7_best_score",best_score)}this.restart_button=this.game.add.button(w/2-110,h-140,'again',this.restart_game,this);this.more_button=this.game.add.button(w/2+10,h-140,'more',this.more_game,this);this.share_button=this.game.add.button(w/2-80,h-80,'share',this.share_weixin,this);dataForWeixin.tContent="连圈圈,不是你想象中的那么简单!你敢来挑战一下嘛?";dataForWeixin.tTitle="我在连圈圈大作战中获得"+score+'分!获得"'+tit+'"的称号!';alert(dataForWeixin.tTitle)},update:function(){},share_weixin:function(){document.getElementById("share_cover").style.display="block"},restart_game:function(){this.game.state.start('Play')},more_game:function(){window.location=_config['isSite']+"game/"}};