- All Known Implementing Classes:
ServerController
public interface SelectWorkerListener
Listens for a legal worker selection
-
Method Summary
Modifier and Type Method Description void
onSelectedWorker(java.lang.String username, java.util.List<PossibleActions> possibleActions, Worker selectedWorker)
Notifies that the worker choice was successful
-
Method Details
-
onSelectedWorker
void onSelectedWorker(java.lang.String username, java.util.List<PossibleActions> possibleActions, Worker selectedWorker)Notifies that the worker choice was successful- Parameters:
username
- the player to notify's usernamepossibleActions
- a list of the actions performable with the chosen workerselectedWorker
- the selected worker
-