Package com.jcloisterzone.ui.panel

Examples of com.jcloisterzone.ui.panel.GamePanel


        }
        return false;
    }

    private boolean isDispatchActive() {
        GamePanel gp = client.getGamePanel();
        if (gp != null && gp.getChatPanel() != null) return !gp.getChatPanel().getInput().hasFocus();
        return true;
    }
View Full Code Here


        ConnectGamePanel cgp = client.getConnectGamePanel();
        if (cgp != null) {
            cgp.onWebsocketError(ex);
            return;
        }
        GamePanel gp = client.getGamePanel();
        if (gp != null) {
            gp.onWebsocketError(ex);
            return;
        }
        logger.error(ex.getMessage(), ex);
    }
View Full Code Here

    }

    public void newGamePanel(Game game, boolean mutableSlots, PlayerSlot[] slots) {
        Container pane = this.getContentPane();
        cleanContentPane();
        gamePanel = new GamePanel(this, game);
        gamePanel.showCreateGamePanel(mutableSlots, slots);
        pane.add(gamePanel);
        pane.setVisible(true);
    }
View Full Code Here

TOP

Related Classes of com.jcloisterzone.ui.panel.GamePanel

Copyright © 2018 www.massapicom. 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.