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);
    }
  }
}

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 ) ; } } }
notify anything interested in when an entity exited .
