Пример #1
0
 /**
  * @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;
 }
Пример #2
0
 public static final void addClanHall(ClanHall hall) {
   _allClanHalls.put(hall.getId(), hall);
 }