add method
void
add(
- T hitbox
Implementation
void add(T hitbox) {
final node = _add(_rootNode, 0, mainBoxSize, hitbox, null);
_oldPositionByItem[hitbox as ShapeHitbox] = Aabb2.copy(hitbox.aabb);
_hitboxAtNode[hitbox as ShapeHitbox] = node;
}