onCollisionEndCallback property
Assign your own CollisionEndCallback if you want a callback when this shape stops colliding with another PositionComponent.
Implementation
@override
CollisionEndCallback<PositionComponent>? onCollisionEndCallback;
Assign your own CollisionEndCallback if you want a callback when this shape stops colliding with another PositionComponent.
@override
CollisionEndCallback<PositionComponent>? onCollisionEndCallback;