よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
private PlayerCard AddCardToPlayer(GamePlayer gamePlayer, List <Card> deck) { Card card = TakeCardFromDeck(deck); PlayerCard playerCard = CustomMapper.GetPlayerCard(gamePlayer, card); gamePlayer.PlayerCards.Add(playerCard); gamePlayer.CardAmount++; gamePlayer.RoundScore = CountCardScore(gamePlayer.PlayerCards); return(playerCard); }