Esempio n. 1
0
		private void CustomInitialize()
		{
            this.Cuerpo.ScaleX = this.Sprite.ScaleX * 0.4f;
            this.Cuerpo.ScaleY = this.Sprite.ScaleY * 0.5f;
            this.Cuerpo.AttachTo(this.Sprite, true);
            HP = new BarraHP(ContentManagerName);
            completa = new SuperBarra(ContentManagerName);
            CurrentState = VariableState.Parado;
            Cuerpo.Visible = false;
            Shield.Visible = false;
            this.Golpe.ScaleX = 0;
            this.Golpe.ScaleY = 0;
		}
Esempio n. 2
0
		private void CustomInitialize()
		{
            this.Cuerpo.ScaleX = this.Sprite.ScaleX * 0.4f;
            this.Cuerpo.ScaleY = this.Sprite.ScaleY * 0.5f;
            this.Cuerpo.AttachTo(this.Sprite, true);
            HP = new BarraHP(ContentManagerName);
            interes = new TasaInteres(ContentManagerName);
            //ciclo = new BarraCiclo(ContentManagerName);
            fraccionaria = new BarraFraccionaria(ContentManagerName);
            auxiliardamage = this.PhysDamage;
            auxiliarvel = this.Velocidad;
            CurrentState = VariableState.Parado;
            Cuerpo.Visible = false;
            Shield.Visible = false;
            this.Golpe.ScaleX = 0;
            this.Golpe.ScaleY = 0;
		}
Esempio n. 3
0
		private void CustomInitialize()
		{
            
            this.Cuerpo.ScaleX = this.Sprite.ScaleX*0.4f;
            this.Cuerpo.ScaleY = this.Sprite.ScaleY * 0.5f;
            this.Cuerpo.AttachTo(this.Sprite, true);
            HP = new BarraHP(ContentManagerName);
            sensorial = new BarraSensorial(ContentManagerName);
            auxiliar = PhysDamage;
            orden2 = false;
            CurrentState = VariableState.Parado;
            this.Shield.ScaleX = 0;
            this.Shield.ScaleY = 0;
            this.Golpe.ScaleX = 0;
            this.Golpe.ScaleY = 0;
            Cuerpo.Visible = false;
            Shield.Visible = false;
		}