finally works, the wave spawn timer thing
game is mostly finshed atm. still need a few things but yea. also, seg fault when bulletsin the air and enemies reach exti