I would like to spawn several enemies in a shmup as a basic enemy wave.
When I try to run the program only 1 enemy is being spawned. Also regardless of if the time is 2 seconds or 2.01, 2.02, 2.03 for every condition for 3 events only one enemy is spawning.
My code: