Actors
are programmed to move about the stage.
The move
method instructs an actor to travel a given number of pixels in its current direction.
Movement is performed incrementally in steps whose size is controlled by an Actor's
step size
.
The bigger the step size
the faster the movement.
The applet below starts a series of
Line
actors (
see JavaSource)
that move on a straight line.
The actors differ aside from their coloring in their step size
. The table under the applet shows the actor's
setp sizes
.