private void renderTopRow(Graphics2D g) {
        List<List<Card>> topRow = game.getTopRow();
        double x = X_BOARD_OFFSET;
        double y = CARD_Y_NO_OVERLAP;
        for (List<Card> cards : topRow) {
            if (cards.size() > 0) {
                Card toRender = cards.get(cards.size() - 1);
                //If top of pile isn't hidden, render that
                if (!toRender.isHidden()) {
                    renderCard(toRender, g, x, y);

                }//Otherwise, render the 2nd highest if it exists
                else if (cards.size() > 1) {
                    renderCard(cards.get(cards.size() - 2), g, x, y);
                }//Only one card in pile, so render empty.
                else {
                    renderCard(null, g, x, y);
                }

            } else {
                renderCard(null, g, x, y);
            }
            x += CARD_WIDTH + CARD_X_GAP;
        }

    }