public override void getEaten(Player thePlayer) { Explosion theExplosion = new Explosion(xPos, yPos, Game1.explosionTexture, false); Game1.explosions.Add(theExplosion); Game1.explosion.Play(); }
public override void getEaten(Player thePlayer) { thePlayer.Health -= damageDone; Explosion theExplosion = new Explosion(xPos, yPos, explosionTexture, true); Game1.explosions.Add(theExplosion); Game1.explosion.Play(); }