package Ġar . com . play 2 play . presentation . tr u co . cards Ċ Ċ import Ġandroid . view . View Ċ import Ġar . com . play 2 play . R Ċ Ċ abstract Ġclass ĠTr u co Single Opp onent Cards Hand ( ĊĠĠĠ Ġcards : ĠList < Playing Card >, ĊĠĠĠ Ġdropping Places : ĠList < View >, ĊĠĠĠ Ġlistener : ĠListener ? Ċ ) Ġ: ĠTr u co Cards Hand ( cards , Ġdropping Places , Ġlistener ) Ġ{ ĊĊĠĠĠ Ġprotected Ġval Ġnormal Vertical Size Ġ= Ġcontext . resources . get Dimension ( R . dim en . tr u co _ normal _ card _ vertical _ margin ) ĊĠĠĠ Ġprotected Ġval Ġelev ated Vertical Size Ġ= Ġcontext . resources . get Dimension ( R . dim en . tr u co _ elev ated _ card _ vertical _ margin ) ĊĠĠĠ Ġprivate Ġval Ġcards Rotation For Hand Ġ= Ġmap Of ( ĊĠĠĠĠĠĠĠ ĠCOMP LETE _ HAND Ġto ĠlistOf (- 2 5 f , Ġ- 5 f , Ġ 1 5 f ), ĊĠĠĠĠĠĠĠ ĠTWO _ CAR DS Ġto ĠlistOf (- 1 0 f , Ġ 1 0 f ), ĊĠĠĠĠĠĠĠ ĠS INGLE _ CARD Ġto ĠlistOf ( 0 f ), ĊĠĠĠ Ġ) ĊĊĠĠĠ Ġoverride Ġfun Ġget Cards Rotation ( playing Cards : ĠInt ) Ġ= Ġcards Rotation For Hand . getValue ( playing Cards ) Ċ }