FabGL
ESP32 Display Controller and Graphics Library
|
void updateSpriteAndDetectCollisions | ( | Sprite * | sprite | ) |
Updates collision detector and generate collision events.
When a sprite changes its position or size it is necessary to update the collision detector.
This method updates the detector and generates collision events accordly.
sprite | The sprite to update and to check for collisions. |