I had an idea for a project i could do, writing a 2d game framework.
I want to do collision detection and have a collision listener CollisionListener.
I only have a vague idea of how listeners work, and I have no experiance writing one, I've just used them.

Can someone explain the internal workings of listeners or give me a link to a page that does?

-Jonathan