Changeset 6.1.34


Ignore:
Timestamp:
08/20/2016 09:09:50 PM (8 years ago)
Author:
David Owen <dsowen@fugue88.ws>
branch-nick:
state
revision id:
dsowen@fugue88.ws-20160820210950-osv83bvlqte206kq
Message:

Renamed advance_mission() to do()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main.py

    r6.1.33 r6.1.34  
    4848        self.shared = shared
    4949
    50     def advance_mission(self):
     50    def do(self):
    5151        self.shared.mission += 1
    5252        team_size = mission_size(self.shared.player_count, self.shared.mission)
     
    148148    while True:
    149149        if isinstance(state, AdvanceMission):
    150             state = state.advance_mission()
     150            state = state.do()
    151151        elif isinstance(state, AssembleTeam):
    152152            state = assemble_team()
Note: See TracChangeset for help on using the changeset viewer.