collide(object1, object2, collideCallback, processCallback, callbackContext) → {boolean}
Checks for collision between two game objects. You can perform Sprite vs. Sprite, Sprite vs. Group, Group vs. Group, Sprite vs. Tilemap Layer or Group vs. Tilemap Layer collisions.Both the first and second parameter can be arrays of objects, of differing types.If two arrays are passed, the contents of the first parameter will be tested against all contents of the 2nd parameter.The objects are also automat