When actors move they do so in their current movement direction. Calling an actor's
left or right method giving an angle in degrees forces an actor to turn. The size of the turn is defined by the degrees given.
The applets below show how calling an actor's
left and
right methods effects its movement.
Note that the
Actors below execute in
debug mode with the consequence that
left and
right turns are performed incrementally and thus consume time.
In non
debug mode turns are performed inistantaneously.