public ElFeroCactae(Vector2 scroll, String[] flags) : base(scroll) { //Source sprite sRect = new Rectangle(0, 0, 512, 512); Scale = new Vector2(1.3f, 1.3f); location = new Vector2(TGPAContext.Instance.TitleSafeArea.Right - this.dRect.Width, TGPAContext.Instance.ScreenHeight + 1); etat = CactusStateBoss.Attack; frametime = 400; ttl = InfiniteTimeToLive; //Stats wpn = new ElFeroCactaeWPN1(); wpn2 = new ElFeroCactaeWPN2(); wpn3 = new ElFeroCactaeWPN3(); wpn4 = new ElFeroCactaeWPN4(); attackDuration = 0.0f; hp = basicHP; maxLifebarValue = hp; speed = new Vector2(0f, 70.0f); Pattern = new MovePattern(); Pattern.AddPoint((int)location.X + dRect.Width / 2, 0); frametime = 0f; points = 125000; go = false; deltaX = -1; attacks = AttackBoss2.Circluar; this.hitbox = new EmptyHitbox(this); this.flagsOnDeath = flags; panel = new BackgroundActiveElement.ElFeroPanel(new Vector2(150, TGPAContext.Instance.ScreenHeight + 1)); TGPAContext.Instance.AddEnemy(panel); this.DrawLifebar = true; this.DrawWarning = true; }