private static void updateGUI()
	{
		pane.drawImage(GUI, null, 0, 0);
     	
    	pane.setColor(Color.red);
    	pane.fillRect(0, height-23, player.health, 20);
    	
    	Font font = new Font(null, Font.BOLD, 30);
    	pane.setFont(font);
    	
    	pane.drawString(""+numOFzombieskilled, 220, height-3);
    	
    	pane.drawString(minutes+":"+tensecond+onesecond, 330, height-3);

       	String weapon = "";
    	switch(selectedweapon)
    	{
    		case Player.Pistol:
    			weapon = "Pistol";
    			break;
    		case Player.Assault_rifle:
    			weapon = "Assault rifle";
    			break;
    		case Player.Bolt_action_rifle:
    			weapon = "Hunting rifle";
    			break;
    		case Player.Machine_gun:
    			weapon = "Machine gun";
    			break;
    		case Player.Semi_Auto_Sniper:
    			weapon = "Sniper";
    			break;
    		case Player.SMG:
    			weapon = "SMG";
    			break;
    	}
    	pane.drawString(weapon, width-183, height-3);
	}