public static void main(String[] args) { // gmae should run here setLookAndFeel(); BomborMan run = new BomborMan(); run.initMainMenu(); // Scanner input = new Scanner(System.in); // input.nextInt(); }
public static void gameWin() { gamePlay.remove(ply); gamePlay.removeKeyListener(keyl); MapGui.gamePlay.validate(); MapGui.jframe.validate(); MapGui.gamePlay.repaint(); for (int i = 0; i < sizex / BomborMan.unit; i++) { for (int j = 0; j < sizex / BomborMan.unit; j++) { setMapState(i, j, new MapBasicBlock(BlockType.FIRE, new Position(i, j), null)); } } BomborMan.PlayerDead(true); }