Constructor


PolygonCollider(parent: any, points: any, mode: any)

Arguments:

parent: any
points: any
mode: any




Methods


PolygonCollider:collidesWith(other: any)

Arguments:

other: any

Returns:

1: boolean|unknown|nil


PolygonCollider:draw(r: any, g: any, b: any, a: any)

Arguments:

r: any
g: any
b: any
a: any


PolygonCollider:drawFill(r: any, g: any, b: any, a: any)

Arguments:

r: any
g: any
b: any
a: any


PolygonCollider:getShapeFor(other: any)

Arguments:

other: any



Fields



Undocumented