handleCollision method
Implementation
void handleCollision(PositionComponent other) {
if (other is! T || !enabled) {
return;
}
final tick = _intervalTick.update(_comp.lastDt);
if (tick) {
for (final callback in _onContactCallbacks) {
callback(other);
}
}
}