RectangleHitbox constructor
RectangleHitbox({})
Implementation
RectangleHitbox({
Vector2? position,
Vector2? size,
double? angle,
Anchor? anchor,
int? priority,
}) : shouldFillParent = size == null && position == null,
super(
position: position,
size: size,
angle: angle,
anchor: anchor,
priority: priority,
);