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