CPSC120
Fundamentals of Computer Science

In-class Activity 35

  1. Write a body to the update method of the Invader class. The method should move the invader so that when the function is called repeatedly, the invader will sweep back-and-forth across the screen and slowly move down.