Appendix A. Source Code for MagneTank
This chapter provides a short description of and references for all of the classes used in the game MagneTank . MagneTank is available on the Google Play Store (http://play.google.com/store/apps/details?id=ifl.games.MagneTank), formerly known as Android Market , and the source code can be found in the code bundle for this book. The gameplay includes aiming the tank's turret by touching where the turret should point and tapping in the same location to fire the turret. For the sake of demonstrating physics-enabled vehicles, the tank can be pulled to the left-hand side or the right-hand side by first touching it and then sliding in the desired direction.
The game's classes are spread across the following topics:
Game level classes
Input classes
Layer classes
Manager classes
Menu classes
Activity and engine classes
The following image is an in-game screenshot from MagneTank's second level: