public void LevelInit() { try { for (int i = 0; i < game.getNrofblocks() * game.getNrofblocks(); i++) game.setScreendata(leveldata[i], i); LevelContinue(); } catch (Exception e) { e.printStackTrace(); } }