collisionType property

  1. @override
CollisionType get collisionType
override

Whether the hitbox should:

Implementation

@override
CollisionType get collisionType => collisionTypeNotifier.value;
set collisionType (CollisionType type)

Implementation

set collisionType(CollisionType type) {
  if (collisionTypeNotifier.value == type) {
    return;
  }
  collisionTypeNotifier.value = type;
}