PlayerManager.addActivity(player, battle);
}
}
private void pushLobbyToPlayers(Lobby lobby, boolean sendNewRequestMessage) {
Message message = new Message("New battle request");
JSONObject lobbyJson = generateJson(lobby);
for (List<String> team : lobby.getTeams()) {
for (String name : team) {
Player player = PlayerManager.getPlayer(name);