/// <summary>
        /// Constructs a new particle emitter object.
        /// </summary>
        public ParticleEmitter(ParticleSystem particleSystem,
                               float particlesPerSecond, Vector3 initialPosition)
        {
            this.particleSystem = particleSystem;

            timeBetweenParticles = 1.0f / particlesPerSecond;

            previousPosition = initialPosition;
        }
 public override void Initialize()
 {
     modelName = "Models/IndestructibleBlock";
     modelScale = 1f;
     modelRotation = new Vector3();
     models = ModelList.GetInstance();
     explosionParticles = new ExplosionParticleSystem(game, game.Content);
     explosionParticles.DrawOrder = 400;
     explosionParticles.Initialize();
     emitter = new ParticleEmitter(explosionParticles, 20, explosionPosition);
     LoadContent();
 }