private BoardManager( GameCard[] startHand, IGametoUI ui ) { hand = new List<GameCard> (); foreach (GameCard c in startHand) { if( c == null ) Debug.Log( "null card!" ); hand.Add (c); } this.ui = ui; }
public static IUItoGame newGame( GameCard[] startHand, IGametoUI ui ) { return new BoardManager(startHand, ui); }