/** * @param x * @param y * @param z * @return Clan Hall by x,y,z */ public final ClanHall getClanHall(int x, int y, int z) { for (ClanHall temp : getAllClanHalls().values()) { if (temp.checkIfInZone(x, y, z)) { return temp; } } return null; }
public static final void addClanHall(ClanHall hall) { _allClanHalls.put(hall.getId(), hall); }