onCollisionStartCallback property
Assign your own CollisionCallback if you want a callback when this shape starts to collide with another PositionComponent.
Implementation
@override
CollisionCallback<PositionComponent>? onCollisionStartCallback;
Assign your own CollisionCallback if you want a callback when this shape starts to collide with another PositionComponent.
@override
CollisionCallback<PositionComponent>? onCollisionStartCallback;