addHitbox method

void addHitbox(
  1. HitboxShape shape
)

Implementation

void addHitbox(HitboxShape shape) {
  shape.component = this;
  _hitboxes.add(shape);
}