Static Functions
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>
Description
Instance Variables
centerX
Type
Float
Initial Value
n/a
Description
centerY
Type
Float
Initial Value
n/a
Description
circular
Type
Bool
Initial Value
n/a
Description
depth
Type
Float
Initial Value
n/a
Description
flippedRect
Type
Rectangle
Initial Value
n/a
Description
height
Type
Float
Initial Value
n/a
Description
index
Type
Int
Initial Value
n/a
Description
metadata
Type
Dynamic
Initial Value
n/a
Description
name
Type
String
Initial Value
n/a
Description
pivotX
Type
Float
Initial Value
n/a
Description
pivotY
Type
Float
Initial Value
n/a
Description
rect
Type
Rectangle
Initial Value
n/a
Description
rotation
Type
Float
Initial Value
n/a
Description
type
Type
Int
Initial Value
n/a
Description
width
Type
Float
Initial Value
n/a
Description
x
Type
Float
Initial Value
n/a
Description
y
Type
Float
Initial Value
n/a
Description
Instance Functions
clone():CollisionBox
Description
copyFrom(collisionBox:CollisionBox):Void
Description
equals(collisionBox:CollisionBox):Bool
Description
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