FabGL
ESP32 Display Controller and Graphics Library

◆ update()

void update ( Sprite sprite)

Updates collision detector.

When a sprite changes its position or size it is necessary to update the collision detector.
This method just updates the detector without generate collision events.

Parameters
spriteThe sprite to update.

Definition at line 446 of file collisiondetector.cpp.