Summary
In this chapter, we coded the platforms. As expected, two classes were needed: one derived from Update and one from Graphics. We have added controls to the player, coded an Animator class, and put it to work in the PlayerGraphics class to make the player run smoothly left and right. In the next chapter, we will first build a menu to control pausing, resuming, and quitting, and then we will make it rain on the player.