コード例 #1
0
 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;
 }
コード例 #2
0
 public static IUItoGame newGame( GameCard[] startHand, IGametoUI ui )
 {
     return new BoardManager(startHand, ui);
 }