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

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