public void render(GameContainer arg0, Graphics g) throws SlickException {
		if(title)
		{
			titleDoor1.draw(-doorshift,0);
			titleDoor2.draw(doorshift,0);
		}
		else
		{//order of render: backgrounds -> walls -> items -> player+mobs
		grassMap.render(x-820, y-64,0); // background
		grassMap.render(x-820, y-64,1); // transition
		player.sprite.draw(player.x,player.y);
		for(Medkit meds:medkits)
		{
			meds.image.draw(meds.x,meds.y);
		}
		for(Mob moby:mobs)
		{
			moby.sprite.draw(moby.x,moby.y);
		}
		for (Projectile projecty:projectiles)
		{
			projecty.image.draw(projecty.x,projecty.y);
		}
		for (int i = 2; i<layers;i++)
		{
			grassMap.render(x-820, y-64, i); //objects
		}
		//g.drawString("Mouse one Weapon: " + player.getWeapon1(), 700, 10);
		//g.drawString("Mouse two Weapon: " + player.getWeapon2(), 700, 30);
		HUD.draw(-22,-22);
		ItemHUD.draw(660,340);
		item1.draw(926,418);
		item2.draw(799,534);
		if(player.hp>0)
			health = new Image("res/health/"+player.hp+"hp.png");
		health.draw(114,22);
		if (menu)
		{
			g.drawImage(new Image("res/Menu.png"), 10,020);
		}}

	}