src/neon/physics/CircularHitbox.java
/**
   * WARNING: This method is partially unimplemented. It only works when used with other circular hitboxes.
   *
   * @param other the other hitbox
   * @throws UnsupportedOperationException always
   */
This method is partially unimplemented. It only works when used with other circular hitboxes.
@param other the other hitbox
@throws UnsupportedOperationException always
This method is partially unimplemented . It only works when used with other circular hitboxes . @param other the other hitbox @throws UnsupportedOperationException always
public boolean doesIntersectHitbox(Hitbox other) throws UnsupportedOperationException {
    if (other instanceof CircularHitbox castedOther) {
      return center.getDistanceBetween(other.center) <= castedOther.radius + radius;
    }
    throw new UnsupportedOperationException("This method is not currently implemented.");
  }
public boolean doesIntersectHitbox ( Hitbox other ) throws UnsupportedOperationException { if ( other instanceof CircularHitbox castedOther ) { return center . getDistanceBetween ( other . center ) <= castedOther . radius + radius ; } throw new UnsupportedOperationException ( "This method is not currently implemented." ) ; }
WARNING: This method is partially unimplemented.
WARNING : This method is partially unimplemented .