public AnimatedParticleEmitter(int particleCount, AnimatedSprite sprite, IAnimationData animation, ParticleProperties props, IParticleEmitMode emitMode, bool useGravity = false, Entity parent = null) : base(particleCount, sprite, props, emitMode, useGravity, parent) { this.sprite = sprite; this.animation = animation; }
public ParticleEmitter(int particleCount, Sprite sprite, ParticleProperties props, IParticleEmitMode emitMode, bool useGravity = false, Entity parent = null) : base(parent) { this.particleCount = particleCount; this.particles = new Particle[particleCount]; this.sprite = sprite; this.emitMode = emitMode; this.props = props; this.useGravity = useGravity; }