private void handleEntities() {
		//List of entities to throw away later
		List<Entity> trash = new LinkedList<Entity>();
		
		for (Entity e: entities){
			Entity other = getIntersectingEntity(e);
			if(other != null) {
				e.collide(other);
			}
			
			e.update();
			
			if(e instanceof Destructible) {
				Destructible d = (Destructible)e;
				if(d.isDestroyed()) {
					trash.add(e);
					if(e instanceof Explosive) { //If this is an explosive we need to get its core before it is destroyed.
						Explosive ex = (Explosive)e;
						cores.add(ex.getCore());
					}
				}
			}
			
		}
		entities.removeAll(trash);
	}