FabGL
ESP32 Display Controller and Graphics Library
|
|
inline |
Adds 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. |