the enemies spawn randomly while the player goes through the different environments