FabGL
ESP32 Display Controller and Graphics Library
|
Updates collision detector and detect collision with the specified sprite.
When a sprite changes its position or size it is necessary to update the collision detector.
This method updates the detector and detects collisions.
sprite | The sprite to update and to check for collisions. |
removeCollidingSprites | If true the collided sprites are automatically removed from the collision detector. |
Definition at line 452 of file collisiondetector.cpp.