DeadZone Community Packages
    Preparing search index...

    Class WorldArea

    Represents an area with the size being dictated by its width and height from the defined center point (x, y, plane)

    Implements

    Implemented by

    Index

    Constructors

    • Creates a new WorldArea at the X and Y world position

      Parameters

      • x: number

        the world X position, can use WorldPoint position

      • y: number

        the world Y position, can use WorldPoint position

      • width: number

        the width of the area from the X and Y position

      • height: number

        the height of the area from the X and Y position

      • plane: number

        the plane (Z) on which this area resides on, can use WorldPoint position

      Returns WorldArea

    Methods

    • Returns number

    • Returns number

    • Returns number

    • Returns number

    • Returns number

    • Calculates the next travelling location from the origin area towards the target area using a similar walking algorithm by Jagex

      Parameters

      Returns WorldArea