Modification of the World class

This program adds a method named getFrame to the World class.

The new getFrame method

The program uses that reference

I explained a modification very similar to this in an earlier lesson, so I won't repeat that explanation here.

A complete listing of the modified World class is provided in Listing 10.

File: ap.htm [Next] [Prev]