public void draw(Graphics2D g){
		spriteElapsed = (System.nanoTime() - spriteTimer) / 1000000;
		
		if (type == 1 ){
			g.drawImage(extraLifeImage,x,y,null);
		}
		if (type == 2){
			g.drawImage(shotGunImage,x,y,null);
		}
		if (type == 3){
			g.drawImage(machineGunImage,x,y,null);
		}
		if (type == 4){
			g.drawImage(laserGunImage,x,y,null);
		}
		if (type == 5){
			g.drawImage(aBombImage,x,y,null);
		}
		if (spriteElapsed > spriteDelay){
			setDead();
		}
	}