question: public void notifyExited ( final ActiveEntity entity , final int oldX , final int oldY ) { Rectangle2D eArea ; eArea = entity . getArea ( oldX , oldY ) ; for ( final MovementListener l : movementListeners ) { Rectangle2D area = l . getArea ( ) ; if ( area . intersects ( eArea ) ) { l . onExited ( entity , this , oldX , oldY ) ; } } }
target:  Notify anything interested in when an entity exited.