package com.encrox.zombie; import java.util.ArrayList; import org.bukkit.ChatColor; import org.bukkit.entity.Player; public class Lobby { private ArrayList players; private Player creator; private String identifier; private Map map; public Lobby(Player creator, String identifier, Map map) { this.creator = creator; this.identifier = identifier; this.map = map; players = new ArrayList(); players.add(creator); } public String getIdentifier() { return identifier; } public Player getCreator() { return creator; } public boolean containsPlayer(Player player) { if(creator.equals(player)) return true; return players.contains(player); } public void removePlayer(Player player) { if(creator.equals(player)) { for(int i = 0, size = players.size(); i