PokéRogue
    Preparing search index...
    Index

    Constructors

    Methods

    • Returns true if the bounds contains the given point.

      Parameters

      Returns boolean

      True if the bounds contain the point, otherwise false

      contains

    • Creates a new axis-aligned bounding box (AABB) for the given vertices.

      Parameters

      Returns IBound

      A new bounds object

      create

    • Returns true if the two bounds intersect.

      Parameters

      Returns boolean

      True if the bounds overlap, otherwise false

      overlaps

    • Shifts the bounds to the given position.

      Parameters

      Returns void

      shift

    • Translates the bounds by the given vector.

      Parameters

      Returns void

      translate

    • Updates bounds using the given vertices and extends the bounds given a velocity.

      Parameters

      Returns void

      update