A shared array of skeletons that the functions dectects collisions against.
A skeleton that the function dectects collisions against the array of skeletons with.
The number of miliseconds to wait before exiting. Infinete when set to real.infinity.
A collision structure.
detectCollision takes a skeleton, a wait time, and an array of skeletons, and detects collisions, returning true if so.