public override void Initialize() { base.Initialize(); Speed = 0.02f; IsKilled = false; Damage = 0; ObjectClass = "enemy"; ObjectName = "Mine"; Duration = 50000; HP = 100; anim.LoopTime = 300; anim.AddFrame(spriteSheet.GetSubSprite(new Rectangle(80, 100, 15, 15))); Bounding = new Rectangle(149, 60, 9, 26); BoundingSpace = 0; CenterPoint = new Vector2(anim.Width / 2, anim.Height / 2); useDeathAnim = true; blastRadius = 70; blastDamage = 70; ShootObjectTypes.Add("player"); ShootObjectTypes.Add("ally"); SightRange = 100; lootValue = LootValue.veryLow; }
protected ShootingEnemyShip(Game1 Game, Sprite spriteSheet, PlayerVerticalShooter player) : base(Game, spriteSheet, player) { ShootObjectTypes.Add("player"); ShootObjectTypes.Add("ally"); ObjectSubClass = "shooting"; }
public PlayerVerticalShooter(Game1 Game, Sprite spriteSheet) : base(Game, spriteSheet) { ShootObjectTypes.Add("enemy"); }