Congratulations! In this chapter, you learned how to create an enemy AI, prevent it from moving, and allow it to shoot the player. As with all chapters, I encourage you to look at the complete source code for a more detailed and nuanced explanation of how all of this works.
In the next chapter, you will learn how to create the game's various user interface menus. Stay tuned!