public Zombie(int newx, int newy, int zombietype)
	{
		x = newx;
		y = newy;
		rect = new Rectangle(x, y, width, height);
		try
		{
			switch(zombietype)
			{
				case Zombie_Regular:
					img = ImageIO.read(new File("regular.png"));
					health = 100+Main.zombiehealthmodify;
					speed = 2;
					damage = 2;
					break;
				case Zombie_Fast:
					img = ImageIO.read(new File("fast.png"));
					health = 70+Main.zombiehealthmodify;
					speed = 4;
					damage = 1;
					break;
				case Zombie_Large:
					img = ImageIO.read(new File("large.png"));
					health = 125+Main.zombiehealthmodify;
					speed = 1;
					damage = 4;
					break;
				case Zombie_Poison:
					img = ImageIO.read(new File("poison.png"));
					health = 100+Main.zombiehealthmodify;
					speed = 2;
					damage = 5;
					break;
				case Zombie_Brute:
					img = ImageIO.read(new File("brute.png"));
					health = 200+Main.zombiehealthmodify;
					speed = 1;
					damage = 10;
					break;
				case Zombie_Witch:
					img = ImageIO.read(new File("witch.png"));
					health = 300+Main.zombiehealthmodify;
					speed = 8;
					damage = 30;
					break;
			}
		}
		catch (IOException e){e.printStackTrace();}
	}