RectangleHitbox constructor
RectangleHitbox({})
Implementation
RectangleHitbox({
super.position,
super.size,
super.angle,
super.anchor,
super.priority,
bool isSolid = false,
CollisionType collisionType = CollisionType.active,
}) : shouldFillParent = size == null && position == null {
this.isSolid = isSolid;
this.collisionType = collisionType;
}