Changeset 6.1.58
- Timestamp:
- 08/21/2016 04:35:55 AM (8 years ago)
- branch-nick:
- state
- revision id:
- dsowen@fugue88.ws-20160821043555-2f74tlv3j5e4wqpg
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main.py
r6.1.57 r6.1.58 86 86 self.wins += 1 87 87 88 def mission_failed(self, failures): 89 print("Mission had {} failures".format(failures)) 90 self.losses += 1 91 88 92 89 93 class AdvanceMission(object): … … 145 149 self.shared.mission_succeeded() 146 150 else: 147 print("Mission had {} failures".format(failures)) 148 self.shared.losses += 1 151 self.shared.mission_failed(failures) 149 152 150 153 return AdvanceMission(self.shared)
Note: See TracChangeset
for help on using the changeset viewer.