setPlayerSelectionFunction

public Vote setPlayerSelectionFunction(Function<Player, Boolean> playerSelectionFunction)

Return

the changed Vote object

Parameters

playerSelectionFunction

the function that decides if a player should be considered in the vote