FabGL
ESP32 VGA Controller and Graphics Library
|
|
inline |
Add the specified sprite to collision detector.
The collision detector is updated calling Scene.updateSprite() or updateSpriteAndDetectCollisions(). The number of sprites cannot exceed the value specified in Scene constructor.
sprite | The sprite to add. |