private void ResizeHand(Transform2 transform, Hand hand, FanOut fanout)
        {
            var center = transform.Center;

            transform.Size   = new Size2(fanout.WidthPerCard(hand.Count()), fanout.HeightPerCard(hand.Count()));
            transform.Center = center;
        }
 private void FanCards(IEntities entities, Transform2 transform, Hand hand, FanOut fanout)
 {
     if (hand.Count() == fanout.PreviousCardCount)
     {
         return;
     }
     fanout.PreviousCardCount = hand.Count();
     if (hand.Count() == 0)
     {
         return;
     }
     ResizeHand(transform, hand, fanout);
     RepositionCards(entities, hand, CalculateCardPositions(GetCardSize(entities), transform, hand.Count()));
     FaceCardsCorrectly(entities, hand);
 }