Java Reference
In-Depth Information
Figure 8-4.
A simple game using the Mobile Game API
Listing 8-9.
The MIDlet Contents
src/
com/
apress/
rischpater/
SpriteCanvas.java
SpriteSampleMIDlet.java
res/
butterfly-sprite.png
cat.png
ground-tiles.png
Let's look at each of these classes in more detail.