public class MessageBuilder extends Object
Constructor and Description |
---|
MessageBuilder() |
Modifier and Type | Method and Description |
---|---|
static String |
playersIteratorToNamesString(Iterator<Player> playersIterator)
Concatenates the names of players given by an iterator to a beautiful comma
separated string that can be printed to the user.
|
public static String playersIteratorToNamesString(Iterator<Player> playersIterator)
playersIterator
- the iterator over the PlayersCopyright © 2017 smarTen. All rights reserved.