Beispiel #1
0
 private void Update()
 {
     // if the Tree has failed, successeded or is waiting then restart it
     if (tree.Status != BNode.Status.Running)
     {
         tree.Restart();
         tree.Beginn();
     }
     tree.Update();
 }