Package csa.jportal.match

Examples of csa.jportal.match.MatchStartPanel


            case SHOWGAME:
            {
                jLabelYes.setVisible(false);
                jButtonYes.setVisible(false);

                MatchStartPanel c = new MatchStartPanel();
                mParent.addPanel(c);
                mParent.setMainPanel(c);
                startGame = mParent.windowMe(c, 800, 400, "Start game!");
                setBounds(100, 405, 500, 270);
                Rectangle r = jButtonNext.getBounds();
                r.y -=130;
                jButtonNext.setBounds(r);
                Rectangle r2 = jLabelGoOn.getBounds();
                r2.y -=130;
                jLabelGoOn.setBounds(r2);
                jLabelGoOn.setText("Ok ->");
                break;
            }
            case SETDECK:
            {
                MatchStartPanel c = ((MatchStartPanel)startGame.getPanel());
                c.setQuickPlayerDeck("red&green65Creature");
                break;
            }
            case SETOPPONENT:
            {
                MatchStartPanel c = ((MatchStartPanel)startGame.getPanel());
                c.setQuickPlayerAI("Moses");
                c.setQuickAIPlayerDeck("blueGreen65P");

                break;
            }
            case STARTGAME:
            {
                mParent.removeStarter(this);
                MatchStartPanel c = ((MatchStartPanel)startGame.getPanel());
                startGame.setVisible(false);
                c.startGame();

                return;
            }
        }
View Full Code Here

TOP

Related Classes of csa.jportal.match.MatchStartPanel

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.