public void draw(Graphics2D g) {
		for (Particle p : particles) {
			if (p.active) {
				//Color color = new Color(9, 9, 9, p.life * 250);
				g.setColor(p.color);
				g.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, p.life*20));
				g.fillRect(p.x, p.y, 20, 20);
				g.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 1));
			}
		}
	}