protected Collider2D[]? GetPointsOfInterestNearby(Transform?transform, PatrolConfig patrolConfig) => transform is null? null : Physics2D.OverlapCircleAll(transform.position, patrolConfig.poiDistance, patrolConfig.poiLayerMask);
protected RaycastHit2D CanSeePlayer(Transform entityTransform, Transform playerTransform, PatrolConfig patrolConfig) => Physics2D.Raycast(entityTransform.position, (playerTransform.position - entityTransform.position), patrolConfig.visibilityDistance, patrolConfig.playerLayerMask);