Static Functions
CollisionBox.hitTestArray(arr1:Array<CollisionBox>, arr2:Array<CollisionBox>, selfLocation:TPoint, thatLocation:TPoint, selfScale:TPoint, thatScale:TPoint, selfRotation:Float, thatRotation:Float, selfPivot:TPoint, thatPivot:TPoint):Array<CollisionResult>
Instance Variables
centerX
Type
Float
centerY
Type
Float
circular
Type
Bool
depth
Type
Float
flippedRect
Type
Rectangle
height
Type
Float
index
Type
Int
metadata
Type
Dynamic
name
Type
String
pivotX
Type
Float
pivotY
Type
Float
rect
Type
Rectangle
rotation
Type
Float
type
Type
Int
width
Type
Float
x
Type
Float
y
Type
Float
Instance Functions
clone():CollisionBox
copyFrom(collisionBox:CollisionBox):Void
equals(collisionBox:CollisionBox):Bool
hitTest(theirCollisionBox:CollisionBox, selfLocation:TPoint, thatLocation:TPoint, selfScale:TPoint, thatScale:TPoint, selfRotation:Float, thatRotation:Float, selfPivot:TPoint, thatPivot:TPoint):Rectangle
description
Compare hit boxes from self and the provided hit box