Function Rect.hasIntersection
Wraps SDL_HasIntersection
which sees whether two dsdl
s intersect each other
Parameters
Name | Description |
---|---|
other | other dsdl to check its intersection of with the dsdl |
Returns
true
if both have intersection with each other, otherwise false