private void drawAllCards() throws IOException {
        ICardDeck deck = new CardDeckStandard(false);
        cardDrawer = new CardDrawer(container, gui.getPictureDirectory(),
                gui.getPictureType());
        int index = 0;
        while (!deck.isEmpty()) {
            Card c = deck.takeCard();
            indexForCard.put(c, index);
            drawCard(c);
            index++;
        }
    }