Tower Defense Game: Basic Game Template
Author Mickey Petersen
It’s time to start handling events and drawing things to the screen. Building on the state machine and the controller layer from before, we need a simple abstraction to represent each of the screens we need. Luckily, there’s an easy way to do this with class inheritance and a bit of forward thinking.