Summary
You now have a working Flood Control game. In this chapter, we have looked at:
Adding content objects to your project and loading them into textures at runtime using an instance of the
ContentManager
classDividing code up into classes that represent objects in the game
Building a recursive method
Using the
SpriteBatch.Draw()
method to display imagesDividing the
Update()
andDraw()
code into different units, based on the current game state
In Chapter 3, Flood Control - Smoothing Out the Rough Edges, we will spruce up the Flood Control game, adding animation by modifying the parameters of the SpriteBatch.Draw()
method and creating text effects in order to make the game visually more appealing.