Examples of BazaarCapability


Examples of com.jcloisterzone.game.capability.BazaarCapability

        actionPanel.paintComponent(g2);
//    gp.profile("action panel");

        g2.translate(0, 60);

        BazaarCapability bcb = game.getCapability(BazaarCapability.class);
        if (bcb != null && !(client.getGridPanel().getSecondPanel() instanceof BazaarPanel)) { //show bazaar supply only if panel is hidden
            List<Tile> queue = bcb.getDrawQueue();
            if (!queue.isEmpty()) {
                int x = 0;
                for (Tile tile : queue) {
                    Image img = client.getResourceManager().getTileImage(tile);
                    g2.drawImage(img, x, 0, 40, 40, null);
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.