}
for (Foundation foundation : game.getFoundations()) {
pilePanels.add(new StackedPilePanel(foundation));
}
for (Tableau tableau : game.getTableaux()) {
pilePanels.add(new CascadingPilePanel(tableau));
}
super.setLayout(new GridBagLayout());
super.setOpaque(false);
addConstraints();
}