protected void removeUsedCards(Deck deck)
    {
        for (PlayerProfile profile : this.profiles) {
            if (profile.getHandType () == HandType.EXACTCARDS) {
                Card[] pcards = profile.getCards();
                
                for (Card pcard : pcards) {
                    deck.removeCard(pcard);
                }
            }
        }
        
        for (Card communityCard : this.communityCards) {
            if (communityCard != null) {
                deck.removeCard(communityCard);
            }
        }
    }