public void update(double time){
		for(Particle p:particles) p.tick(time);
		for(Particle p:bgParticles) p.tick(time);
		for(Explosion e:explosions) e.tick(time);
		for(Projectile p:projectiles) p.tick(time);
		for(Mob m:mobs) m.tick(time);
		deleteMarkedEntities();
		for(Tower t:towers) t.tick(time);
		double exp = Math.exp(lambda * time);
		for(int x=0; x<w; x++){
			for(int y=0; y<h; y++){
				normalKillCounts[y][x] *= exp;
				splashKillCounts[y][x] *= exp;
			}
		}
	}