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.

The code for this chapter and the next will be merged into a single Eclipse project. For now, you can just create a new Android project in Eclipse following the steps in the last chapter. At this point, it doesn't matter what you name your default activity.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset