public final boolean atMovementRadius(){
  Point difference=getDistanceFromOrigin();
  int max=movementRadius - 1;
  return (movementRadius > 0 && (difference.getX() > max || difference.getY() > max));
}

public final boolean atMovementRadius ( ) { Point difference = getDistanceFromOrigin ( ) ; int max = movementRadius - 1 ; return ( movementRadius > 0 && ( difference . getX ( ) > max || difference . getY ( ) > max ) ) ; }
checks if the entity has reached a set radius
