Constructor


LineCollider(parent: any, x1: any, y1: any, x2: any, y2: any, mode: any)

Arguments:

parent: any
x1: any
y1: any
x2: any
y2: any
mode: any




Methods


LineCollider:collidesWith(other: any, symmetrical: any)

Arguments:

other: any
symmetrical: any

Returns:

1: boolean|unknown|nil


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

Arguments:

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


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

Arguments:

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


LineCollider:getShapeFor(other: any)

Arguments:

other: any



Fields



Undocumented