public void creatureFulfilled(SeaLifePrototype creatureType) { PointOfInterest poi; for (Iterator<PointOfInterest> i = goals.iterator(); i.hasNext(); ) { poi = i.next(); if (poi.getCreature() == null) continue; if (poi.getCreature().getName().equals(creatureType.getName())) { i.remove(); } } }