public void updateCards(Card card, int i) {
        switch (card.cardType()) {
        case TREASURE:
            updateCardList(treasureCards, card, i);
            break;
        case VICTORY:
            updateCardList(victoryCards, card, i);
            break;
        case ACTION:
            updateCardList(actionCards, card, i);
        default:
            break;
        }
    }