The upshot of all this is that you should pick carefully between the different kinds of event handlers. Things we learned about using events to make animations interactive are:
How to become an actor in your own animations!
Mouse and keyboard events, and the "world starts" event
Event handlers for these events and how to create them
Event handlers that handle a single specified event
Event handlers that handle related events - events that can all be processed by the same event handling method
We recognize that this last form - handling the related events - is a bit clunky just now - but when we've discovered some new Alice constructs, we'll see how to use these handlers more effectively.
Finally in this module - you now have a chance to create your own interactive animation or game.
[Q6.7.1] What is the difference between an event and an event handler?
[Q.6.7.2] Why did our previous use of Alice always execute the code in world.my first method when we hit Play?
[Q.6.7.3] True or False: The same method could be executed by different events (e.g. for an up arrow and for a down arrow). Explain.
[Q6.7.4] In 6.6.1 when you click on the magnet at the very top edge of the world, what value is passed as a parameter to the feel the force method?