void temArmagedado()
	{
		if(H.criaturesArmagedados.Count<=0)
			semArmagedado();
		else
		{
			vidasArmgd = gameObject.AddComponent<vidasEmLutaArmagedom>();
			vidasArmgd.H = H;
			hudA = gameObject.AddComponent<HUDArmagedom>();
			hudA.posX = 0.01f;
			hudA.posY = 0.01f;
			hudA.lCaixa = 0.7f;
			hudA.aCaixa = 0.69f;
			hudA.skin = skin;
			hudA.destaque = destaque;
			hudA.criatures = H.criaturesArmagedados;
			hudA.podeMudar = false;

			hudC = gameObject.AddComponent<HUDCriaturesComMuda >();
			hudC.tempoDeFuga = 0;
			hudC.extraCriature = true;

			estado  ="temArmagedado";
		}


	}
Exemple #2
0
    void temArmagedado()
    {
        if(H.criaturesArmagedados.Count<=0)
            semArmagedado();
        else
        {
            vidasArmgd = gameObject.AddComponent<vidasEmLutaArmagedom>();
            vidasArmgd.H = H;
            hudA = gameObject.AddComponent<HUDArmagedom>();
            hudA.posX = 0.01f;
            hudA.posY = 0.01f;
            hudA.lCaixa = 0.7f;
            hudA.aCaixa = 0.69f;
            hudA.skin = skin;
            hudA.destaque = destaque;
            hudA.criatures = H.criaturesArmagedados;
            hudA.podeMudar = false;

            hudC = gameObject.AddComponent<HUDCriaturesComMuda >();
            hudC.tempoDeFuga = 0;
            hudC.extraCriature = true;

            estado  ="temArmagedado";
        }
    }