コード例 #1
0
 public int getPlayerFromMinion(Card c)
 {
     if (p1Board.Contains(c))
     {
         return(1);
     }
     else if (p2Board.Contains(c))
     {
         return(2);
     }
     else
     {
         throw new CardDoesNotExistException("getPlayerFromMinion failed: Card does not exist: " + c.ID);
     }
 }