Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- currentRoutine = routineList.Take();
- while(true)
- {
- if(currentRoutine = running)
- continue
- else if (currentRoutine = failed)
- if (routineList.Count() = 0)
- Fail selector
- else
- currentRoutine = routineList.Take();
- else if (currentRoutine = succeeded)
- Succeed selector
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement