public void untapAll(int player) {
        for (Object e : table.getComponents()) {
            if ((e.getClass().equals(TCard.class)
                    || e.getClass().equals(Token.class))
                    &&((TCard) e).getID().charAt(0) == 'A' + player) {
                ((TCard) e).untap();
            }
        }
    }