- Timestamp:
- 08/20/2016 08:47:30 PM (8 years ago)
- branch-nick:
- state
- revision id:
- dsowen@fugue88.ws-20160820204730-pzhsvlgeq37oyft4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main.py
r6.1.25 r6.1.26 41 41 42 42 class AssembleTeam(object): 43 pass 44 45 46 class PerformMission(object): 43 47 pass 44 48 … … 99 103 if approved: 100 104 team_failures = 0 101 return "PERFORM_MISSION"105 return PerformMission() 102 106 else: 103 107 team_failures += 1 … … 135 139 elif isinstance(state, AssembleTeam): 136 140 state = assemble_team() 137 elif state == "PERFORM_MISSION":141 elif isinstance(state, PerformMission): 138 142 state = perform_mission() 139 143
Note: See TracChangeset
for help on using the changeset viewer.