onCollisionStartCallback property

  1. @override
CollisionCallback<PositionComponent>? onCollisionStartCallback
getter/setter pairinherited

Assign your own CollisionCallback if you want a callback when this shape starts to collide with another PositionComponent.

Implementation

@override
CollisionCallback<PositionComponent>? onCollisionStartCallback;