Game Development Reference
In-Depth Information
Figure 5-8.
Images used for actors
In Figure
5-8
, we see the images used for the actors in this example. Each of these images is
specified by the property
imageName
of class
Actor02
. In the case of the asteroids, we provide three
Asteroid02
object.
Example02Controller
. Like other
UIViewController
classes,
is responsible for displaying data on the screen—in our case, the different
Example02Controller
will be to create and update a number of
UIImageViews
, one
5-9
shows how the iPhone version of this class is set up in Interface Builder.