onCollisionEnd method
onCollisionEnd is called once when this object has stopped colliding
with other
.
Implementation
@override
void onCollisionEnd(PositionComponent other) {
if (other is CollisionMapComponent || other is TileWithCollision) {
if (--_tileCollisionCount == 0) resetInterval(_tileCollisionCountKey);
}
super.onCollisionEnd(other);
}