PokéRogue
    Preparing search index...
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Returns all bodies whose vertices contain the given point, from the given set of bodies.

      Parameters

      Returns BodyType[]

      The bodies matching the query

      point

    • Casts a ray segment against a set of bodies and returns all collisions, ray width is optional. Intersection points are not provided.

      Parameters

      Returns ICollisionData[]

      Collisions

      ray

    • Returns all bodies whose bounds are inside (or outside if set) the given set of bounds, from the given set of bodies.

      Parameters

      Returns BodyType[]

      The bodies matching the query

      region