BaseItem.on_collision_enter method
Handles the start of a collision between this item and another item.
To remove the handler, pass null for handler.
Parameters
-
handler: Callable[[t: BaseItem], None]
passes
BaseItemwhich this item collides against.