/** * Adds a new point of interest to the list of poi's of the radar * Keep in mind that only the poi's are visible as blips that are * in the range of the radar. * @param BLIP */ public void addPoi(final Poi BLIP) { if (pois.keySet().contains(BLIP.getName())) { updatePoi(BLIP.getName(), BLIP.getLocation()); } else { pois.put(BLIP.getName(), BLIP); } checkForBlips(); }
/** * Adds a new point of interest to the list of poi's of the radar * Keep in mind that only the poi's are visible as blips that are * in the range of the radar. * @param BLIP */ public void addPoi(final Poi BLIP) { if (pois.keySet().contains(BLIP.getName())) { updatePoi(BLIP.getName(), BLIP.getLocation()); } else { pois.put(BLIP.getName(), BLIP); } checkForBlips(); }