Beispiel #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;
		}
Beispiel #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;
		}
Beispiel #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;
		}