public void setParameter(String paramname, int a){
			if(paramname == "Age"){ age = a;}
			if(paramname == "Fade"){fade = a;}
			if(paramname == "MirrX"){hoodx = a; if(mirror){setLocation(hoodx, hoody);}}
			if(paramname == "MirrY"){hoody = a;if(mirror){setLocation(hoodx, hoody);}}
			if(paramname == "InMode"){inmode = a; if(a == 2){ages = false; fades = false;outmode = 2;}if(a == 1){outmode = 1;}}
			}