testCollisions method

  1. @override
Future<void> testCollisions(
  1. ThermionEntity entity
)
override

Test all collidable entities against this entity to see if any have collided. This method returns void; the relevant callback passed to addCollisionComponent will be fired if a collision is detected.

Implementation

@override
Future<void> testCollisions(ThermionEntity entity) async {
  await _shim.testCollisions(entity).toDart;
}