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