canSeeWithMargin method

bool canSeeWithMargin(
  1. PositionComponent component
)

Implementation

bool canSeeWithMargin(PositionComponent component) {
  return cameraRectWithSpacing.overlaps(component.toAbsoluteRect());
}