class OtherPukerCountContains extends egret . DisplayObjectContainer { /**
     * 显示对手剩余的牌的数量
     * isLeft 是否是左边的玩家
     */ public constructor ( count , isLeft ) { super ( ) ; let pc = RES . getRes ( "layout_json" ) . otherPukerCountContainer ; if ( isLeft ) { this . x = pc . leftX ; } else { this . x = pc . rightX ; } this . y = pc . y ; this . width = pc . width ; this . height = pc . height ; let pukerCount = new TextTip ( count + "" , 0 , 100 , 32 ) ; pukerCount . width = 100 ; this . addChild ( pukerCount ) ; } }