detectCollision

detectCollision takes a skeleton, a wait time, and an array of skeletons, and detects collisions, returning true if so.

version(!DLL)
detectCollision
(
shared Skeleton[] towatch
,,
in real time = 0
)

Parameters

towatch Skeleton[]

A shared array of skeletons that the functions dectects collisions against.

skele Skeleton

A skeleton that the function dectects collisions against the array of skeletons with.

time real

The number of miliseconds to wait before exiting. Infinete when set to real.infinity.

Return Value

Type: Collision

A collision structure.

Meta