public BufferedImage rotateImage(double angle) 
	{
		try{zombieimg = ImageIO.read(new File("transparent.png"));}
		catch (IOException e){e.printStackTrace();}
		Graphics2D g = zombieimg.createGraphics();
		g.setColor(Color.white);
 		g.rotate(Math.toRadians(angle), width/2, height/2);
 		g.drawImage(img, null,0, 0);
		g.dispose();
		return zombieimg;
	}