Example #1
0
        public override void getEaten(WyrmPlayer thePlayer)
        {
            Explosion theExplosion = new Explosion(xPos, yPos, Game1.explosionTexture, false);
            Game1.explosions.Add(theExplosion);

            Game1.explosion.Play();
        }
Example #2
0
        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();
        }