Set skater to her starting viewpoint (cont'd)
Leave the parking meter at its current viewpoint.
Adjust the viewpoint of the ice skater to that indicated in Listing 3.
Write the code and then play your program.
Listing 3. Set skater to her starting viewpoint.
|// Set skater to her starting viewpoint|
|iceSkater .turn( RIGHT , 0.25 revolutions );|
|iceSkater .moveAwayFrom( target = parkingMeter , amount = 2 meters );|