Examples of StackedPilePanel


Examples of freecell.view.pile.StackedPilePanel

    private final List<PilePanel> pilePanels = new ArrayList<>(16);

    public GamePanel(Game game) {
        for (Cell cell : game.getCells()) {
            pilePanels.add(new StackedPilePanel(cell));
        }
        for (Foundation foundation : game.getFoundations()) {
            pilePanels.add(new StackedPilePanel(foundation));
        }
        for (Tableau tableau : game.getTableaux()) {
            pilePanels.add(new CascadingPilePanel(tableau));
        }
        super.setLayout(new GridBagLayout());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.