you can kill enemies again
set a fixed number of enemies to spawn, minimum distance player-enemies and player-gate