Hierarchy (view full)

Constructors

Properties

Methods

Constructors

  • Circle constructor, initialized position and radius

    Parameters

    • x: number

      X coordinate of the position

    • y: number

      Y coordinate of the position

    • radius: number

      Circle's radius

    Returns Circle

Properties

position: ICoordinates

Range position

radius: number

Circle's radius

type: string

Methods

  • Check if the given range intersects the circle

    Parameters

    Returns boolean

    true or false, checking if the range is intersecting with the circle