Advertisement
Guest User

Untitled

a guest
May 5th, 2015
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. currentRoutine = routineList.Take();
  2. while(true)
  3. {
  4. if(currentRoutine = running)
  5. continue
  6. else if (currentRoutine = failed)
  7. if (routineList.Count() = 0)
  8. Fail selector
  9. else
  10. currentRoutine = routineList.Take();
  11. else if (currentRoutine = succeeded)
  12. Succeed selector
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement