Changeset 6.1.48


Ignore:
Timestamp:
08/21/2016 04:16:54 AM (8 years ago)
Author:
David Owen <dsowen@fugue88.ws>
branch-nick:
state
revision id:
dsowen@fugue88.ws-20160821041654-dq9yz6us1tawdsjx
Message:

Delegated next_mission()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main.py

    r6.1.47 r6.1.48  
    5151        return mission_size(self.player_count, self.mission)
    5252
     53    def next_mission(self):
     54        self.mission += 1
     55
    5356
    5457class AdvanceMission(object):
     
    5861
    5962    def do(self):
    60         self.shared.mission += 1
     63        self.shared.next_mission()
    6164        team_size = self.shared.current_mission_size()
    6265        print("Mission {} needs {} members".format(self.shared.mission, team_size))
Note: See TracChangeset for help on using the changeset viewer.