Changeset 6.1.40 for main.py


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

Renamed assemble_team() to do()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main.py

    r6.1.39 r6.1.40  
    6464        self.team_size = team_size
    6565
    66     def assemble_team(self):
     66    def do(self):
    6767        print("Captain is {}".format(self.shared.captain))
    6868        team = self.shared.players[self.shared.captain].propose_team(self.team_size)
     
    149149            state = state.do()
    150150        elif isinstance(state, AssembleTeam):
    151             state = state.assemble_team()
     151            state = state.do()
    152152        elif isinstance(state, PerformMission):
    153153            state = perform_mission()
Note: See TracChangeset for help on using the changeset viewer.