Summary
Phew! That was a long one. We have done a lot in this chapter: we built our first class for the Zombie Arena project, Player
, and put it to use in the game loop. We also learned about and used an instance of the View
class, although we haven't explored the benefits this gives us just yet.
In the next chapter, we will build our arena background by exploring what sprite sheets are. We will also learn about C++ references, which allow us to manipulate variables, even when they are out of scope (that is, in another function).