Options
All
  • Public
  • Public/Protected
  • All
Menu

Allow to store a behavior in a RBush (spatial data structure). Because this duplicates the AABB, this ensures the RBush AABB stays the same even if the underlying object is moved (in which case the behavior is responsible for removing/adding back/updating this BehaviorRBushAABB).

Type parameters

Hierarchy

  • BehaviorRBushAABB

Index

Properties

behavior: T
maxX: number = 0
maxY: number = 0
minX: number = 0
minY: number = 0

Constructors

Methods

  • updateAABBFromOwner(): void

Generated using TypeDoc