onCollisionEnd method
onCollisionEnd is called once when this object has stopped colliding
with other
.
Implementation
@override
void onCollisionEnd(PositionComponent other) {
if (other is T) {
onContactExit(other);
}
super.onCollisionEnd(other);
}