public ParticleEmitter(float x, float y, Type type, long life, int amount) {
		super(x, y, type, amount);
		Particle particle = null;
		for (int i = 0; i < amount; i++) {
		switch (type) {
		case BASIC:
			particle = new Particle(x, y, life, Sprite.particleSheet.getSprite(0, 0, 3, 3));
			break;
		case TEXT:
			particle = new TextParticle(x, y, life, Sprite.charSheet.getSprite(29 * 8, 0, 8, 8));
			break;
		case COLLISION:
			particle = new CollisionParticle(x, y, life, Sprite.particleSheet.getSprite(0, 0, 3, 3));
			break;
		}
			this.level.addEntity(particle);
		}
	}