public PapaBicho Factory (String pBicho){
		if(pBicho == "tank"){
			list = units.tanqueXMLUnit();
			setVar();
			PapaBicho tank = new PapaBicho(pLevel,pPrice,pIntelligence,pStrenght
										  ,pWeight,pResistance,pMovespeed,
										  pHitpoints,pWeightLimit,pMana,
										  pMaxHitPoints);
			return tank;			
		}else if(pBicho == "panzer" ){
			list = units.panzerXMLUnit();
			setVar();
			PapaBicho scout = new PapaBicho(pLevel,pPrice,pIntelligence,
											pStrenght,pWeight,pResistance,
											pMovespeed,pHitpoints,pWeightLimit,
											pMana,pMaxHitPoints);
			return scout;			
		}else if(pBicho == "warrior" ){
			list = units.soldadoXMLUnit();
			setVar();
			PapaBicho warrior = new PapaBicho(pLevel,pPrice,pIntelligence,
											  pStrenght,pWeight,pResistance,
											  pMovespeed,pHitpoints,pWeightLimit
											  ,pMana,pMaxHitPoints);
			return warrior;			
		}else if (pBicho == "specialforce"){
			list = units.dobleAgenteXMLUnit();
			setVar();
			PapaBicho specialforce = new PapaBicho(pLevel,pPrice,pIntelligence,
												   pStrenght,pWeight,pResistance
												   ,pMovespeed,pHitpoints,
												   pWeightLimit,pMana,
												   pMaxHitPoints);
			return specialforce;			
		}else if(pBicho == "harvester"){
			list = units.peonXMLUnit();
			setVar();
			Harvester harvester = new Harvester(pLevel,pPrice,pIntelligence,
												pStrenght,pWeight,pResistance,
												pMovespeed,pHitpoints,
												pWeightLimit,pMana,
												pMaxHitPoints);
			return harvester;			
		}else if (pBicho == "proharvester"){
			list = units.peonEliteXMLUnit();
			setVar();
			ProHarvester proharvester = new ProHarvester(pLevel,pPrice,
														 pIntelligence,pStrenght
														 ,pWeight,pResistance,
														 pMovespeed,pHitpoints,
														 pWeightLimit,pMana,
														 pMaxHitPoints);
			return proharvester;			
		}else if (pBicho == "monk"){
			list = units.shamanXMLUnit();
			setVar();
			Monk monk = new Monk(pLevel,pPrice,pIntelligence,pStrenght,pWeight,
								 pResistance,pMovespeed,pHitpoints,pWeightLimit,
								 pMana,pMaxHitPoints);
			return monk;			
		}else if (pBicho=="healer"){
			units.enfermeroXMLUnit();
			setVar();
			Healer healer = new Healer(pLevel,pPrice,pIntelligence,pStrenght,
									   pWeight,pResistance,pMovespeed,pHitpoints
									   ,pWeightLimit,pMana,pMaxHitPoints);
			return healer;			
		}else if (pBicho == "kamikaze"){
			units.kamikazeXMLUnit();
			setVar();
			Kamikaze kamikaze = new Kamikaze(pLevel,pPrice,pIntelligence,
											 pStrenght,pWeight,pResistance,
											 pMovespeed,pHitpoints,pWeightLimit,
											 pMana,pMaxHitPoints);
			return kamikaze;			
		}else{
			units.escoltaXMLUnit();
			setVar();
			PapaBicho scout = new PapaBicho(pLevel,pPrice,pIntelligence,
											pStrenght,pWeight,pResistance,
											pMovespeed,pHitpoints,pWeightLimit,
											pMana,pMaxHitPoints);
			return scout;
		}
	}