Пример #1
0
 private void WaitForPath(MySmallShipBot bot)
 {
     if (bot.TryGetPath(out followPath))
     {
         if (followPath == null)
         {
             PathNotFound = true;
         }
         lookingForPath = false;
         currentPathPosition = 0;
         ResetStuck(bot);
     }
 }
 private void WaitForPath(MySmallShipBot bot)
 {
     if (bot.TryGetPath(out followPath))
     {
         if (followPath == null)
         {
             PathNotFound = true;
         }
         lookingForPath      = false;
         currentPathPosition = 0;
         ResetStuck(bot);
     }
 }
 private void CheckIfPathComputed(MySmallShipBot bot)
 {
     if (bot.TryGetPath(out m_followPath))
     {
         if (m_followPath == null)
         {
             PathNotFound = true;
         }
         m_lookingForPath      = false;
         m_currentPathPosition = 0;
         ResetStuck(bot);
     }
 }
 private void CheckIfPathComputed(MySmallShipBot bot)
 {
     if (bot.TryGetPath(out m_followPath))
     {
         if (m_followPath == null)
         {
             PathNotFound = true;
         }
         m_lookingForPath = false;
         m_currentPathPosition = 0;
         ResetStuck(bot);
     }
 }