private void renderDragCards(Graphics2D g, List<List<Card>> gameBoard) {
        if (activeMove != null && activeMove instanceof CardMoveImpl && activeX != -1 && activeY != -1) {
            CardMoveImpl move = (CardMoveImpl) activeMove;
            if (move.getMoveTypeFrom() == CardMoveImpl.MOVE_TYPE_FROM.FROM_HAND) {
                List<Card> from = game.getHand().getList();
                renderCard(from.get(move.getIndexFrom()), g, activeX - (CARD_WIDTH / 2), activeY);
            } else {
                List<Card> from = null;
                switch (move.getMoveTypeFrom()) {
                    case FROM_ACE_PILES:
                        from = game.getAcePiles().get(move.getIndexFrom());
                        break;
                    case FROM_KING_PILES:
                        from = game.getKingPiles().get(move.getIndexFrom());
                        break;
                    case FROM_BOARD:
                        from = game.getBoard().get(move.getIndexFrom());
                        break;
                }
                assert from != null;
                renderCard(from.get(from.size() - 1), g, activeX - (CARD_WIDTH / 2), activeY);

            }
        }
    }