use of com.code.server.game.room.Room in project summer by foxsugar.
the class RoomManager method removeRoomFromMap.
public static void removeRoomFromMap(Room room) {
List<Room> list = notFullGoldRoom.get(room.getGoldRoomType());
ArrayList<Room> templist = new ArrayList<>();
templist.addAll(list);
if (list != null) {
for (Room m : list) {
if (m.getRoomId().equals(room.getRoomId())) {
templist.remove(m);
}
}
}
notFullGoldRoom.put(room.getGoldRoomType(), templist);
}
Aggregations