Summary

We can now go global with our games as well as add the more flexible String resources instead of hard coding all the text.

Let's carry on with the Snake game by coding the Apple class, then we can learn about ArrayList and enumerations in Chapter 16, Collections, Generics, and Enumerations. We will then be ready to code the Snake in Chapter 17, Manipulating Bitmaps and Coding the Snake Class.

Get Learning Java by Building Android Games - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.