var eqw_Player=eqw_Player||{}; function eqw_HandCard(id){ this.id=id; this.isSelect=0; this.click=1; this.diff=0; this.mustpush=0; } eqw_HandCard.prototype.GetId=function(){ return this.id; } eqw_HandCard.prototype.Select=function(){ this.isSelect=1; } eqw_HandCard.prototype.CancelSelect=function(){ this.isSelect=0; } eqw_HandCard.prototype.GetSelect=function(){ return this.isSelect; } eqw_HandCard.prototype.GetClick=function(){ return this.click; } eqw_HandCard.prototype.SetClick=function(){ this.click = 1; } eqw_HandCard.prototype.SetUnClick=function(){ this.click = 0; } eqw_HandCard.prototype.SetDiff=function(){ this.diff = 1; } eqw_HandCard.prototype.SetUnDiff=function(){ this.diff = 0; } eqw_HandCard.prototype.SetMust=function(){ this.mustpush = 1; } eqw_HandCard.prototype.SetUnMust=function(){ this.mustpush = 0; } ///////------------------------------eqw_Player------------------------ eqw_Player.HandCards=[]; eqw_Player.call=null;//我的叫分 eqw_Player.status=0;//玩家是否是庄家 eqw_Player.BottomCards=[];//底牌只有庄家才有此属性 eqw_Player.Init=function(){ this.HandCards=[]; this.call=null; this.status=0; this.BottomCards=[]; } eqw_Player.InitCards=function(){ for(var i=0;i