Enemy ships
Now that the player can fly and shoot their weapons, it is time to give them something to shoot at! The enemy ships are shown in the following image:
Our enemy ships will follow a series of waypoints (specified as a list of vectors pointing to screen coordinates) across the screen. Because we need this new type of behavior that all enemy ships will implement, we will create an Enemy
class as well as an EnemyManager
class.