Objective: Now that we have the base of our wave system started we need to actually make the waves matter. First let’s start with the enemies. There are numerous ways to do this one would be to create separate enemies and have them only spawn in certain waves, but given how our enemy code is written I am going to just have the enemy ask what wave it is and act accordingly when they spawn.
Step 1: Because we already have a connection to the game manager we can make the wave true’s public.
Step 2: Decide which enemy actions we want and check that the proper wave is active before allowing them to work. Starting with the sway movement and shield. Those shouldn’t be first wave moves.
Step 3: Firing backwards seems like a later option.
Step 4: Finally the ability to destroy the powerups.