class PukerBottomContainer extends egret . DisplayObjectContainer { /**
     * 标准扑克容器，显示底牌
     * 这个容器只能显示牌，不能对牌进行操作
     * arrays 扑克id的数组
     */ public constructor ( arrays ) { super ( ) ; let pb = RES . getRes ( "layout_json" ) . pukerBottomContainer ; this . x = pb . x ; this . y = pb . y ; this . width = pb . width ; this . height = pb . height ; this . show ( arrays ) ; } private show ( arrays ) { let p = RES . getRes ( "layout_json" ) . puker ; let x = 0 ; for ( var i = 0 ; i < arrays . length ; i ++ ) { let puker = new Puker ( arrays [ i ] , x + i * p . pukerSmallSpace , 0 , p . pukerSmallWidth , p . pukerSmallHeight ) ; this . addChild ( puker ) ; } } }