In this chapter, we’ll set up the basis for both our enemies and the projectiles our towers will fire. We’ll be getting into some inheritance to do this. Since we’ll have ground enemies that move around our towers as well as flying enemies that go right over them in a straight line, we need to make sure we have a base class for our enemies that provides the common functionality that both enemy types will need – notably, taking damage and dying.
Similarly, our projectiles will come in two different ...