Changed the ParticleEmitter class to be a component.