Update home authored by Fairbank, Michael H's avatar Fairbank, Michael H
...@@ -23,7 +23,7 @@ Between each phase, the game checks if any of the following has occurred, if it ...@@ -23,7 +23,7 @@ Between each phase, the game checks if any of the following has occurred, if it
### Selection ### Selection
Pick the mission leader and ask the leader for a team selection. Pick the mission leader and ask the leader for a team selection.
The mission leader's ```select(players, count)``` method is called. The leader returns a list of player objects that correspond to the players the leader wishes to send on the mission. The mission leader's ```select(players, count)``` method is called. The leader returns a list of player objects that correspond to the players the leader wishes to send on the mission. The variable *count* specifies how long the list should be.
When the leader has made a selection, the bots will be informed that a team has been selected using the `onTeamSelected(leader, team)` callback. When the leader has made a selection, the bots will be informed that a team has been selected using the `onTeamSelected(leader, team)` callback.
... ...
......