Plan of Attack

In Chapter 3, we laid out a minimal design for a game framework that abstracts away all the platform specifics so that we could concentrate on what we are here for: game development. Now, we'll implement all these interfaces and abstract classes in a bottom-up fashion, from easiest to hardest. The interfaces from Chapter 3 are located in the package, com.badlogic.androidgames.framework. We'll put the implementation from this chapter in the package, com.badlogic.androidgames.framework.impl, and indicate that it holds the actual implementation of the framework for Android. We'll prefix all our interface implementations with Android so that we can distinguish them from the interfaces. Let's start off with the easiest part, file I/O. ...

Get Beginning Android 4 Games Development 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.