Пример #1
0
 public bool CheckBehaviorStatus()
 {
     if (detectFood.CheckForFood() != null && !detectPlayer.CheckForPlayer())
     {
         return(true);
     }
     return(false);
 }
Пример #2
0
 public bool CheckBehaviorStatus()
 {
     return(detectPlayer.CheckForPlayer());
 }