Basically, you can define a function that will determine the behavior of an object, corresponding to a given event. When an object reacts like this to an event, we say that it listens to this event, or that it is a listener.
Note that any object can listen any event. How can we apply this here ?
Let's see which events are likely to happen: