Beispiel #1
0
        private bool IsWithinSight()
        {
            bool result = _botVisionComponent.IsWithinSight(TargetTag);

            if (_inverseCondition)
            {
                return(!result);
            }
            return(result);
        }
Beispiel #2
0
 protected virtual bool IsTargetWithinSight()
 {
     return(_botVisionComponent.IsWithinSight(TargetTag));
 }