Changeset 6.1.24
- Timestamp:
- 08/20/2016 08:45:48 PM (8 years ago)
- branch-nick:
- state
- revision id:
- dsowen@fugue88.ws-20160820204548-xglsqmn31fir8vvp
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main.py
r6.1.23 r6.1.24 34 34 else: 35 35 return 1 36 37 38 class AdvanceMission(object): 39 pass 36 40 37 41 … … 118 122 119 123 mission += 1 120 return "ADVANCE_MISSIONS"124 return AdvanceMission() 121 125 122 state = "ADVANCE_MISSIONS"126 state = AdvanceMission() 123 127 124 128 while True: 125 if state == "ADVANCE_MISSIONS":129 if isinstance(state, AdvanceMission): 126 130 state = advance_mission() 127 131 elif state == "ASSEMBLE_TEAM":
Note: See TracChangeset
for help on using the changeset viewer.