public void update(){
		
		counter++;
		if(counter % (60) == 0){
			int x = random.nextInt(18) + 11;
			int y = random.nextInt(40);
			
			map.addMob(new Enemy(new Vector2(x * map.tileSize, y * map.tileSize), null, mobTextures));
		}
		
		if(MainMenu.open){
			menu.update();
		}else{
			map.update();
		
			followPlayer();
		}
	}