onCollision method
Called when the entity collides with Collider
.
Implementation
void onCollision(Set<Vector2> intersectionPoints, Collider other) {}
Called when the entity collides with Collider
.
void onCollision(Set<Vector2> intersectionPoints, Collider other) {}