public KingPoulpi(Vector2 scroll, String[] flags) : base(scroll) { //Source sprite this.sRect = new Rectangle(0, 0, 600, 720); dRect = ComputeDstRect(sRect); eyesSRect = new Rectangle(645, 47, 154, 131); eyesLoc = new Vector2(110, 285); appendiceSRect = new Rectangle(26, 861, 160, 144); appendiceLoc = new Vector2(240, 570); this.location = new Vector2(TGPAContext.Instance.ScreenWidth / 2, 150);//TODO DMA this.ttl = InfiniteTimeToLive; //Stats this.wpn = null; this.hp = 10001; this.maxLifebarValue = hp; this.speed = Vector2.Zero; this.points = 500000; this.attackState = KingPoulpiAttacks.None; this.attackCooldown = 2500f; this.state = KingPoulpiState.Normal; this.flagsOnDeath = flags; this.InfiniteMovePattern = true; this.hitbox = new EmptyHitbox(this); this.DrawLifebar = true; this.DrawWarning = true; }
public KingPoulpi(Vector2 scroll, String[] flags) : base(scroll) { //Source sprite this.sRect = new Rectangle(0, 0, 600, 720); dRect = ComputeDstRect(sRect); eyesSRect = new Rectangle(645, 47, 154, 131); eyesLoc = new Vector2(110, 285); appendiceSRect = new Rectangle(26, 861, 160, 144); appendiceLoc = new Vector2(240, 570); this.location = new Vector2(TGPAContext.Instance.ScreenWidth / 2, 150);//TODO DMA this.ttl = InfiniteTimeToLive; //Stats this.wpn = null; this.hp = 10001; this.maxLifebarValue = hp; this.speed = Vector2.Zero; this.points = 500000; this.attackState = KingPoulpiAttacks.None; this.attackCooldown = 2500f; this.state = KingPoulpiState.Normal; this.flagsOnDeath = flags; this.InfiniteMovePattern = true; this.hitbox = new EmptyHitbox(this); this.DrawLifebar = true; this.DrawWarning = true; }