I am building a tower defense game, in which I have few waves of enemies with certain specific number of enemies in a wave. I added the spawning function but I...