onCollisionEnd method
onCollisionEnd is called once when this object has stopped colliding
with other
.
Implementation
@mustCallSuper
void onCollisionEnd(T other) {
activeCollisions.remove(other);
onCollisionEndCallback?.call(other);
}
onCollisionEnd is called once when this object has stopped colliding
with other
.
@mustCallSuper
void onCollisionEnd(T other) {
activeCollisions.remove(other);
onCollisionEndCallback?.call(other);
}