public void tick(boolean preview)
	{
		if(System.currentTimeMillis()-startTime < systemLength || systemLength == -1)
		{
			for(int x=0;x<maxSpawnRate;x++)
				spawnParticle();
		}
		
		for(int x=0;x<particles.size();x++)
		{
			boolean despawn = !particles.get(x).tick(map);
			if(despawn)
			{
				particles.remove(x);
				x--;
			}
		}
	}