Now that we have created all the single game elements for our Tower Defense game, we need to bring them all together. We will do this by creating a Game Manager that will control the entire flow of the game.
In particular, we will learn how to exchange information from the Game Manager to other elements, such as indicating to enemies the way to go, or decreasing the number of lives that the player has when the enemies have reached the end of their path. This also requires that we integrate the UI which we created in the previous chapter.
Later, we will see how to allow the player to place their own towers where they want in the map, but still having some constraints about the areas.
Then, we will learn how we can spawn enemies and how to set the game over conditions, both for winning and losing.
Finally, for those who have finished the optional section in the previous chapter about how to upgrade the tower, here they will learn how to finish what they...