- All Known Implementing Classes:
Lobby
,ServerController
public interface PlayerLostListener
Listens for a player loss
-
Method Summary
Modifier and Type Method Description void
onPlayerLoss(java.lang.String username, java.util.List<Cell> gameBoard)
Notifies that a player lost
-
Method Details
-
onPlayerLoss
Notifies that a player lost- Parameters:
username
- the loser's usernamegameBoard
- the changed gameBoard without the loser's workers as a list of cells
-