Chapter 15. Ready. Aim. Fire!If you want some tanks to battle in a level, it only makes sense that you are going to need some way for the tanks to battle each other. In this case, you allow the tanks to move and rotate the gun turrets (and barrels) and then fire at the enemy. You finished the implementation of the tank moving and controlling the turret and barrel; now you can start adding some of the game play elements and allowing that player to fire. In this chapter, you'll learn
|