Add a call to the function
RenderBombs, inside the
RenderLaunchers() RenderRockets() RenderExplosions RenderBombs Return True
We have just implemented a call to our wrapper function
RenderBombs. As you can see, implementing new objects into the game is easy.
If you let the game run, you will see some neat bombs falling from the sky, as shown in the following screenshot:
Right now, we can update and render bombs. But how do they appear? For this, we need to modify the
UpdateGame method of the