Function Rect.pointInRect
Wraps SDL_PointInRect
which sees whether the coordinate of a dsdl2
is inside the dsdl2
Parameters
Name | Description |
---|---|
point | the dsdl2 to check its collision of with the dsdl2 instance |
Returns
true
if it is within, otherwise false