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;
}
}