Beispiel #1
0
        public Emitter(ParticleGenerator particleGenerator)
        {
            this.particleGenerator = particleGenerator;

            particles = new List <Particle>();
            Position  = Vector2.Zero;
        }
        public ParticleEmitter(ParticleGenerator particleGenerator)
            : base(particleGenerator)
        {
            IsEmitting = false;

            ParticlesPerLoop = 0;
        }
        public ParticleEmitter(ParticleGenerator particleGenerator, Vector2 position)
            : base(particleGenerator, position)
        {
            IsEmitting = false;

            ParticlesPerLoop = 0;
        }
        public ParticleEffect(ParticleGenerator particleGenerator)
            : base(particleGenerator)
        {
            IsPlaying         = false;
            SkipCurrentEffect = false;

            ParticlesPerEffect = 0;
        }
        public ParticleEffect(ParticleGenerator particleGenerator, Vector2 position)
            : base(particleGenerator, position)
        {
            IsPlaying         = false;
            SkipCurrentEffect = false;

            ParticlesPerEffect = 0;
        }
Beispiel #6
0
 public Emitter(ParticleGenerator particleGenerator, Vector2 position)
     : this(particleGenerator)
 {
     Position = position;
 }