| Public Properties | |
|---|---|
| CollisionLayer | Get the collision layer that this boundary is on |
| CollisionType | The collision type of the box |
| Data | The data property of the box. |
| Height | The current height of the box |
| Velocity | The current velocity vector |
| Vertices | Get the vertices array of the tlBox |
| Width | The current width of the box |
| World | Get the y world coordinate of the boundary |
| Public Constructors | |
|---|---|
| New | Constructor |
| Public Methods | |
|---|---|
| BoundingBoxOverlap | Compare this tlBox with another to see if they overlap |
| BoxCollide | Check for a collision with another tlBox |
| CircleCollide | Check for a collision with a tlCircle |
| CircleOverlap | Compare this tlBox with a tlCircle |
| Draw | Draw this tlBox |
| GetCollisionType | Get the collision type of the Box |
| LineCollide | Check for a collision with a tlLine |
| Move | Move the bounding box by a given amount. |
| PointInside | Find out if a point is within the bounding box |
| PolyCollide | Check for a collision with a tlPolygon |
| Position | Set the position of the bounding box. |
| PreventOverlap | Prevent the boundary from overlapping another based on the result of a collision. |
| RayCollide | See is a ray collides with this tlBox |
| ReDimension | Reset the dimensions of the box to a new width and height |
| RectWithin | Find out if a tlBox lies within this objects bounding box |
| Repel | Repel boundaries that overlap |
| Separate | Separate boundaries that overlap |
| SetHandlePosition | Set the handle of the boundary |
| SetScale | Set the scale of the Box |
| SetVelocity | Set the velocity of the boundary |
| SetVelocityVector | Set the velocity vector of the boundary |
| UpdatePosition | Update the position of the boundary |
| UpdateWithinQuadtree | Update the box within the quadatree |
| WorldX | Get the x world coordinate of the boundary |
| WorldY | Get the y world coordinate of the boundary |