FabGL
ESP32 Display Controller and Graphics Library
|
|
pure virtual |
This is an abstract method called whenever a collision has been detected.
This method is called one o more times as a result of calling Scene.updateSpriteAndDetectCollisions() method when one o more collisions has been detected.
spriteA | One of the two sprites collided. This is the same sprite specified in Scene.updateSpriteAndDetectCollisions() call. |
spriteB | One of the two sprites collided. |
collisionPoint | Coordinates of a collision point. |