question: public void notifyEntered ( final ActiveEntity entity , final int newX , final int newY ) { Rectangle2D eArea ; eArea = entity . getArea ( newX , newY ) ; for ( final MovementListener l : movementListeners ) { Rectangle2D area = l . getArea ( ) ; if ( area . intersects ( eArea ) ) { l . onEntered ( entity , this , newX , newY ) ; } } }
target:  Notify anything interested in when an entity entered.