コード例 #1
0
 private void SetBeeNewBehaviorOnHittingTarget_Indoors(IBee bee, Rectangle environmentTargetDimmensions)
 {
     if (_beeCommon.BeeIsIndoors(bee.BeeEnvironmentBehavior))
     {
         var beeReachesObject = _interactionManager.ObjectAIntersectsObjectB(bee.BeeIndoorsSize, environmentTargetDimmensions);
         if (beeReachesObject)
         {
             SetRandomBehaviorBee_OuterWorld(bee);
         }
     }
 }